看着没有问题,我帮你运行下再看看
s = int(input('请输入')) if s==8: print('猜对了') print('但是没奖励') else: print('猜错了') print('结束')