Q:

Write a Python program to shuffle and print a specified list

0

 Write a Python program to shuffle and print a specified list.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

from random import shuffle
color = ['Red', 'Green', 'White', 'Black', 'Pink', 'Yellow']
shuffle(color)
print(color)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now