Assignment | SoloLearn: Learn to code for FREE!

0

Assignment

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

Anyanwu,Lofty-John

2 Answers

New Answer

+3

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

+1

Thanks for your answer.