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

How can I put a dialog input?

self-explain

23rd May 2017, 5:36 PM
jaivar
jaivar - avatar
2 Answers
+ 1
tnks
24th May 2017, 6:33 AM
jaivar
jaivar - avatar
0
What do you mean? You can take user input with the command input(). Inside of the parentheses, you can put a message for the user too. a = input("Enter your name: ") That would print the message and whatever the user inputs would be saved to the variable a.
23rd May 2017, 9:45 PM
Jake
Jake - avatar