I'm converting the more comfortable version of mario.c to Python3 and cannot get the following loop to work:
running = True
while running:
print("Height: ", end="")
height = cs50.get_int()
if height < 0 or height > 23:
running = False
I've tried the following too:
while True:
print("Height: ", end="")
height = cs50.get_int()
if height < 0 or height > 23:
break