input输入时字符串,你判断的数字,按我如下修改就好
a=input() b=input() if a=='20172320'and b=='123': print(a,b) else: print('error')
字符串你得加引号吧