ΪʲôһֱÏÔʾ'²»ÊÇÈòÄê'ÄØ£¬¶¨Òå±äÁ¿ÎªÕûÐͺó¾Í²»ÄܱäÁËÂð£¿
number = int(input('ÇëÊäÈëÄê·Ý£º'))if type(number/4) == type(1) and type(number/100) != type(1):
print('ÈòÄê')
else:
if type(number/400) == type(1):
print('ÈòÄê')
else:
print('²»ÊÇÈòÄê')
ÅжÏÕû³ý²»ÊÇÓÃtype£¬ÒòΪnumber/4²»ÂÛÊÇ·ñÄܳý¾¡£¬½á¹û¶¼ÊǸ¡µãÊý¡£
ÐèÒªÓà % ÅÐ¶Ï ¶¬Ñ©Ñ©¶¬ ·¢±íÓÚ 2022-1-15 13:08
ÅжÏÕû³ý²»ÊÇÓÃtype£¬ÒòΪnumber/4²»ÂÛÊÇ·ñÄܳý¾¡£¬½á¹û¶¼ÊǸ¡µãÊý¡£
ÐèÒªÓà % ÅжÏ
ÇëÎÊΪʲôÉ̶¼ÊǸ¡µãÊýѽ£¿ QC0101 ·¢±íÓÚ 2022-1-15 13:29
ÇëÎÊΪʲôÉ̶¼ÊǸ¡µãÊýѽ£¿
{:5_99:}{:5_99:}
1.0 ÊǸ¡µãÊý
1 ÊÇÕûÊý
ÒÔÉÏÁ½¸öÖµ¶¼ÊÇ 1£¬µ«ÊÇÀàÐͲ»Ò»Ñù£¬ÕâÊÇÊýѧ»ù±¾ÖªÊ¶¡£
Ò³:
[1]