What is the syntax to obtain a value from the user?

<variable name> = input()
#example
userName = input()
print('Hello, " + userName)

 

 

 

Advertisements