#print out words in a random order
import random
word = ["blue", "red", "yellow"]
random = random.choice(word)
if random == "blue":
print "blue"
del word[0]
print random
elif random =="red":
print "red"
del word[1]
else:
print "yellow"
del word[2]
print word
raw_input("press")
"Create a program that prints a list of words in random order. The program should print all the words and not repeat any."
Any help?


Sign In
Create Account


Back to top









