Answers for "how to put input in the main of python"

2

how to add a user input in python

#This will allow the user to type in their name.
name = input("What is your name?")
#or
print("What is your name?")
NAME = input()
Posted by: Guest on May-07-2020

Code answers related to "how to put input in the main of python"

Python Answers by Framework

Browse Popular Code Answers by Language