0
I don't understand why does 'EOFError' happens. Если русские ответят, будет круто.
code: n = int(input()) https://code.sololearn.com/cDpGk2Ev6067/?ref=app
2 Antworten
0
the print statement has no space between the parenthesis.
You have:
print ('blahblah')
Should be:
print('blahblah')
Also, input() always returns a string unless otherwise specified.
So no need for:
variable = str(input())
0
In line 12
Please write
random.randint(1,n)