- 3
Stx
How can I fix EOF error
10 Respostas
+ 2
EOF=end of file error.
mostly happen when you forget to provide proper input.
Share your code.
+ 2
Or you you don't close a statement with parenthesis
+ 2
There is no code to share you must enter two values at the input prompt each on its own line. The input function reads the entire line. Since you used two, you must provide two lines as an answer to the prompt. Each must be valid to the float function. Your prompts do not get seen here, until after the program completes, because of the way SoloLearn runs your code remotely.
+ 1
Share your code here.
+ 1
Input give like this.
2.3 #hit enter next input in next line
3.5
And then again hit enter.
0
How can I provide a proper input??
0
My code look like this
num1=float(input("enter a number"))
num2=float(input("enter another number"))
0
Can I fix it
0
It's a simple calculator from the courses of python . At control stuctures I found this project , I folowed the instructions , but this problem occured
0
I don't know how to do ?? Can you share your code that will help me here ???