I am a begginer in Python. I am writting this exercise to practice and found one way to do it, when I thought about doing it another way, it didn't work. It's probably a organization error, but I can't see it. Please take it easy to explain.
shuffle(list)
print('The new order is {}'.format(list))
That works.
print('The new order is{}'.format(shuffle(lista)))
That doesn't. I know it's simple but I have no one here to help me solve that doubt. Thanks.