本地正确提交错误,是解释器的锅吗?
查看原帖
本地正确提交错误,是解释器的锅吗?
49660
愤鸟先飞楼主2020/9/6 10:06

想要练(入)习(门)Python却出了这种问题QAQ

#!/usr/bin/env python3
x=input()
if(x[-2:]=='00'):
    y=x[:-2]
else:
    y=x
try:
    y=int(y)
except:
    print('error')
if(y%4==0):
    print('1')
else:
    print('0')
2020/9/6 10:06
加载中...