When it says >>>input ("enter here:")where do u enter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

When it says >>>input ("enter here:")where do u enter?

i is very confused

10th Nov 2016, 12:05 AM
Jayden Jalloh
Jayden Jalloh - avatar
2 Answers
+ 1
you enter some text in the interactive prompt, in this case after an "enter here:" message, so'll look like this: >>> input ("enter here:") >>>enter here: and then it waits for your input from keyboard if you write this in a file and then execute it, the same thing appear in the command prompt
10th Nov 2016, 9:38 AM
Wombato Wom
Wombato Wom - avatar
0
You have to store the value of "enter here" in a variable and then print the variable. eg. text = input("enter here: ") print(text) When you run this code you have to type something and it will be printed on your screen after you press enter key.
10th Nov 2016, 7:32 PM
Thiago Santos
Thiago Santos - avatar