Apr-05-2017, 06:24 PM
(This post was last modified: Apr-05-2017, 06:24 PM by BlathaBlather.)
Say I had a list called 'rade' and in it was [1,2, 3, 4, 5,] and I also had another list called 'spam' and in it was [6, 7, 8, 9, 10,]
I want to input that I want to use the list 'rade'. How can I input it so it would work?
I want to input that I want to use the list 'rade'. How can I input it so it would work?
rade = [1, 2, 3, 4, 5, ] spam = [6, 7, 8, 9, 10] choice = input("Chose a list") if choice[1] == 2: print("Congratulations") else: print("Sorry...")