+ 2
What is the problem with this code?
eof error i dont know https://code.sololearn.com/c4vRnnSDRnpv/?ref=app
5 Answers
+ 1
What dev is trying to say is when you run this program in the SoloLearn Python 3 interpreter, it will open a window for user input. In that window you must type in your 6 different inputs on 6 separate lines. Then press submit
+ 8
The problem is with the input. If you're instead giving less than 6 inputs, it gives an eof error.
input1
input2
input3
...
...
input6
Remember to split more than one input into different lines.
+ 2
thanks but i dont know how do this
+ 2
oh thanks , is right
- 1
Haha I once had a similar problem coming from java. Instead of using a â+â to add variables and strings together, use a â,â.
Example:
spam = 1
eggs = 2
print(âHello!â, spam, eggs)