input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

input

how to prompt for user input.

6th Jul 2017, 4:26 AM
PRASHANTH C B
PRASHANTH C B - avatar
3 Answers
+ 13
thing=input("Enter your thing here, user! ") print("Your thing was %s!" % thing)
6th Jul 2017, 4:30 AM
Ahri Fox
Ahri Fox - avatar
+ 5
input ('write here')
6th Jul 2017, 4:28 AM
JULIAN ANTHONY
JULIAN ANTHONY - avatar
+ 1
You cannot prompt at Sololearn code playground. here you will always need to "submit" input before code run.(what you submit will be used into you code line, like a=input(" bla-bla...") )
6th Jul 2017, 9:47 AM
yuri