0

I don't understand why does 'EOFError' happens. Если русские ответят, будет круто.

code: n = int(input()) https://code.sololearn.com/cDpGk2Ev6067/?ref=app

27th Apr 2020, 11:40 AM
Даниил Грушинский
Даниил Грушинский - avatar
2 Answers
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())
27th Apr 2020, 11:45 AM
Slick
Slick - avatar
0
In line 12 Please write random.randint(1,n)
27th Apr 2020, 11:46 AM
ANJALI SAHU