Assignment | SoloLearn: Learn to code for FREE!



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


2 Answers

New Answer


answer = input('please, enter a number: \n') print(answer) in the variable "answer" will be stored the value entered by the user. then you can use this value


Thanks for your answer.