Im trying to print out a list of user input after its been shuffled. Instead of printing the list it prints "none". What am I doing wrong?
import random
x = raw_input("Write one word: ")
word1 = x
y = raw_input("Write another word: ")
word2 = y
z = raw_input("Write one more word: ")
word3 = z
all_words = [word1, word2, word3]
random_words = random.shuffle(all_words)
print random_words