I am doing some code for a flash Card quiz, however when I am running the program it says TypeError: 'NoneType' object is not callable
in this line:
letter = print("Enter letter of your choice (A B C): ").upper()
I am doing some code for a flash Card quiz, however when I am running the program it says TypeError: 'NoneType' object is not callable
in this line:
letter = print("Enter letter of your choice (A B C): ").upper()
print
is used for printing text, not for text inputs.
To make a text input, use input
(or raw_input
if you use Python 2):
letter = input("Enter letter of your choice (A B C): ").upper()