In python if I ask for input and I get it, how would I assign that input a variable name?
12/29/2019 12:30:43 PM
answer = input('please, enter a number: \n')
in the variable "answer" will be stored the value entered by the user. then you can use this value
Thanks for your answer.
name=input('What is your Name? ')
Send us a message