Prompting an Input in Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Prompting an Input in Python

How do I prompt an input with some sort of message? Example: "What is your name?" when the input is a name.... Pls advice, anybody🙏

10th Nov 2020, 12:28 PM
Sandali Kanakkahewa
Sandali Kanakkahewa - avatar
2 Answers
+ 4
You can put the message in the input function. For example, input("What's your name"). But this won't work on SoloLearn and there's no other way for it because You can't change the message when asking input in SoloLearn pop-up, except for HTML. https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2426/
10th Nov 2020, 12:39 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 2
CarrieForle Thank you!☺️
10th Nov 2020, 12:56 PM
Sandali Kanakkahewa
Sandali Kanakkahewa - avatar