|
|
back to boardhelp (python) n = int (input()) cnt = 0 for i in range (n+1) : a = input() if a[-4:] != "+one" : cnt += 1 if a[-4:] == "+one" : cnt += 2 if cnt != 11 : print ((cnt * 100) + 200) if cnt == 13 : print ((cnt * 100) + 300) Runtime error,what's wrong? Edited by author 02.03.2022 22:29 |
|
|