b = 2001
a = (((b % 4 == 0) and (b % 100 != 0)) or (b % 400 == 0))
print(a)
a = ((b % 4 == 0) and (b % 100 != 0) or (b % 400 == 0))
print(a)
a = ((b % 4 == 0) and b % 100 != 0 or (b % 400 == 0))
print(a)
a = (b % 4 == 0 and b % 100 != 0 or (b % 400 == 0))
print(a)
a = (b % 4 == 0 and b % 100 != 0 or b % 400 == 0)
print(a)
python 去括号
最新推荐文章于 2024-10-28 11:00:05 发布