why EOF error.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

why EOF error..

can someone teach me why.. I stuck at this

31st Aug 2016, 8:37 AM
john kid
11 Answers
+ 2
you have to enter a number then use the new line button and enter the second number
10th Nov 2016, 12:41 AM
Miguel Angel
0
Can i watch the code?
31st Aug 2016, 11:18 AM
Leshark
Leshark - avatar
0
print(float(input("40")) + float(input("2")))
31st Aug 2016, 11:24 AM
john kid
0
when I run.. something pop up and I don't know what to write
31st Aug 2016, 11:24 AM
john kid
0
Oh and del all in input func So input() Without "40" and "2"
31st Aug 2016, 11:32 AM
Leshark
Leshark - avatar
0
like this ? print(float(input()) + float(input())) then what to do ?
31st Aug 2016, 11:34 AM
john kid
0
okay.. then when I run it say look like your program need input..
31st Aug 2016, 12:38 PM
john kid
0
U input any integer in 1st line and then another integer u ll get output in python console in float
27th Sep 2016, 10:35 AM
abhishek kumar mishra
abhishek kumar mishra - avatar
- 1
It is input window! Enter any integrer to the 1 line And to the second
31st Aug 2016, 11:30 AM
Leshark
Leshark - avatar
- 1
Then enter any integrers and watch
31st Aug 2016, 11:56 AM
Leshark
Leshark - avatar
- 1
Yes, watch my comment about window
31st Aug 2016, 3:15 PM
Leshark
Leshark - avatar