solution:--
Output:-
['pink', 'blue', 'purple', 'white', 'red']
Process finished with exit code 0
from random import shuffle colour=["red","blue","white","purple","pink"] shuffle(colour) print(colour)
Output:-
['pink', 'blue', 'purple', 'white', 'red']
Process finished with exit code 0
0 Comments