The code below is for color sequence guessing in python.
colors = [r, b, g, y, v, bl, o, w, m]
win = True
while win == True:
for i in colors:
answer=input("Enter answer here: ")
if answer == sequence:
sequence = 'red'
sequence = ['red', 'green']
After going through the comments and clear understanding of your problem I got something to answer:
answer = input("Enter answer here:").split()
Edited: Thanks for @mhawke