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

Try it out area

😂 i m sorry for asking this but what am i supposed to do when i try to run it and something pops up saying (Looks like your program needs input)?

9th Feb 2017, 3:39 AM
707
707 - avatar
7 Answers
+ 1
When you write several commands(codes) on your idle, python will execute each of them from the top. To avoid this you can type #(comment) before the previous commands(codes) for python to skip them as comments; example 1. #input("what is your name?") 2. #print('hello world') 3. print('mike') python will only execute no.3
12th Feb 2017, 4:26 AM
mike murumbi
mike murumbi - avatar
+ 7
<offtopic> Wait... 707, as in 707 from Mystic Messenger?! ... How did I not notice back then... </offtopic>
12th Feb 2017, 4:32 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
@707 It depends on the program in question, because different programs will need different input to carry out operations based on your input. If you read through the codes, you should be able to get a gist of what the program wants you to input.
9th Feb 2017, 3:58 AM
Hatsy Rei
Hatsy Rei - avatar
+ 5
input("what is your name?") #now click the console, write your name and press enter
9th Feb 2017, 3:52 AM
Cosme
Cosme - avatar
+ 3
write an input. The program is waiting for you to type anything.
9th Feb 2017, 3:48 AM
Cosme
Cosme - avatar
+ 1
@Hatsy Rei Thanks for the answer. And yes 707 from Mystic messenger T_T I want to learn coding because of that lil shit even if I suck at maths.
17th Aug 2017, 12:56 AM
707
707 - avatar
0
can you give an example please?
9th Feb 2017, 3:50 AM
707
707 - avatar