Running the code ;
def secret_room(number):
#replace this for solution
return 0
if __name__ == '__main__':
print("Example:")
print(secret_room(5))
#These "asserts" using only for self-checking and not necessary for auto-testing
assert secret_room(5) == 1, #five, four, one, three, two
assert secret_room(3) == 2, #one, three, two
assert secret_room(1000) == 551
print("Coding complete? Click 'Check' to earn cool rewards!")
shows a syntax Error :
SyntaxError: invalid syntax (<MYCODE>, line 10)
?, ?
Created at: 2018/09/12 13:50; Updated at: 2018/09/12 21:46
The question is resolved.