用的Pythoncharam, 代码跟老师的一样,为什么抱语法错误啊?
import random num = random.randint(0, 100) while True: try: guess = int(raw_input('Enter 1~100:')) except ValueError: print('Enter 1 ~ 100') continue if guess > num: print('guess Bigger:' , guess) elif guess < num: print('guess Smaller:' , guess) elif: print('Guess OK, Game Over') break