+ 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)?
7 Respostas
+ 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
+ 7
<offtopic>
Wait... 707, as in 707 from Mystic Messenger?!
... How did I not notice back then...
</offtopic>
+ 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.
+ 5
input("what is your name?")
#now click the console, write your name and press enter
+ 3
write an input. The program is waiting for you to type anything.
+ 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.
0
can you give an example please?