0
Program is exiting
x = int(input("please enter your first number: ")) y = int(input("please enter your second number: ")) z = int(input("please enter your third number: ")) print ("Your result is: ") print (max(x,y,z)) print("Please press any key to exit") program is exiting without any stop..
4 ответов
+ 8
If you are trying to run this program in SoloLearn, you have to provide all three inputs at once. Remember they have to be entered one per line, like this:
4
3
9
Only then will the program work alright in the Code Playground.
+ 4
https://stackoverflow.com/questions/983354/how-do-i-make-JUMP_LINK__&&__python__&&__JUMP_LINK-to-wait-for-a-pressed-key
But this kind of behaviour is not compatible with sololearn playground ;)
0
you need another line of input() after your last line
0
i am running it on my pc on python software..and thank you to all for your help