how to add user input for a question python 1

how to add user input for a question python

print("Type your question here. For Example, what is your favourite colour?")
YourVariableHere=input()

Here is what the above code is Doing:
1. It is asking the user to type a question.
2. It is storing the question in a variable called YourVariableHere.
3. It is printing the question.

Similar Posts