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..

29th Oct 2017, 12:47 PM
Aakash Gupta
Aakash Gupta - avatar
4 Answers
+ 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.
29th Oct 2017, 1:06 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
29th Oct 2017, 1:09 PM
visph
visph - avatar
0
you need another line of input() after your last line
29th Oct 2017, 1:06 PM
imouse
imouse - avatar
0
i am running it on my pc on python software..and thank you to all for your help
29th Oct 2017, 1:39 PM
Aakash Gupta
Aakash Gupta - avatar