"""
输入年份 如果是闰年输出True 否则输出False
year
=
int
(
input
'请输入年份: '
))
# 如果代码太长写成一行不便于阅读 可以使用\对代码进行折行
is_leap
%
4
0
and
100
!
or
\
400
print
(is_leap)