how to ask someone for their name in python 1

how to ask someone for their name in python

name=input("what is your name")

Here is what the above code is Doing:
1. It’s asking the user to input their name.
2. It’s storing the input in a variable called “name”.
3. It’s printing the input back to the user.

Similar Posts