0
Why doesn't this code run
colour = input((colour)) if colour == "yellow": print ("wow! what a wonderful choice") else: print ("you have a good choice though") name = input((name)) print("nice to meet you", name )
3 Answers
+ 1
David Abiiba because there is only input()
+ 1
Hi David Abiiba,
I think what you want to do is:
colour = input("input a color: ")
# ...
0
Okay thanks for the reply