+ 2
Hello i am getting EOF ERROR how to solver it
13 Réponses
+ 3
Change line 3 for this:
t -= 1
+ 6
That program require t+1 inputs.
Example:
If your first input is "3", you have to input 2 more numbers.
Like this:
5
3
3
3
3
3
+ 3
gabe.c423 your code work. It require 4 inputs
+ 3
InvBoy it's a limitation of the SL Code Playground. All the inputs have to be entered at once and the input prompts are all displayed at the same time when the code is run :\
+ 2
If you want to shorten your code, you can replace lines 5, 6 and 7 with the comprehension n = sum(int(digit) for digit in number).
Also, you don't need the quotes in an empty input - i.e. just use input() instead of input('') :)
+ 2
When running the code you will see a dialog where you must put the inputs, each line is a different input.
For example, enter this:
InvBoy
17
100
150
+ 2
No, remember the order of inputs in the code
+ 2
David Ashton Yes, i know
+ 1
Having same issue
+ 1
my code works on python but not solo learn with the same error can any one help?
+ 1
InvBoy so how do i input it comes up with a weird message?
+ 1
InvBoy but it dosnt tell me which input it is