while True:
a=int(input())
if a%4==0 and a%100!=0:
print('闰年')
break
elif a%400==0:
print('閏年')
break
else:
print('平年')
continue
while True:
a=int(input())
if a%4==0 and a%100!=0:
print('闰年')
break
elif a%400==0:
print('閏年')
break
else:
print('平年')
continue
'闰年'你用簡體
while True:
a=int(input())
if a%4==0 and a%100!=0:
print('閏年')
break
elif a%400==0:
print('閏年')
break
else:
print('平年')
continue
改過來了一樣是WA(line:2),它顯示“您共輸入一行”
求解