d = int(input())
m = int(input())
e = int(input())
c = int(e / 100)
y = ((e-c) % 100)
r = d + ((13*m - 1) // 5 ) + y + (y // 4 + c // 4 - 2 * c + 777)
r %= 7
print(r)
Где ошибка в коде?
stdout:
/bin/sh ./build.sh 1>&2
stderr:
solution.py:5:2: E221 multiple spaces before operator
solution.py:6:8: E226 missing whitespace around arithmetic operator
solution.py:8:13: E226 missing whitespace around arithmetic operator
solution.py:8:25: E202 whitespace before '
'
Код не соответствует стандарту PEP8
или в нем есть синтаксические ошибки
make: *** [Makefile:2: build] Error 1
m = int(input())
e = int(input())
c = int(e / 100)
y = ((e-c) % 100)
r = d + ((13*m - 1) // 5 ) + y + (y // 4 + c // 4 - 2 * c + 777)
r %= 7
print(r)
Где ошибка в коде?
stdout:
/bin/sh ./build.sh 1>&2
stderr:
solution.py:5:2: E221 multiple spaces before operator
solution.py:6:8: E226 missing whitespace around arithmetic operator
solution.py:8:13: E226 missing whitespace around arithmetic operator
solution.py:8:25: E202 whitespace before '
Код не соответствует стандарту PEP8
или в нем есть синтаксические ошибки
make: *** [Makefile:2: build] Error 1