测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A59730. for i in range(2024,2124): if(i%400==0 or (i%4==0 and i%100!=0)): print("{}是闰年。".format(i)) else: continue以上 Python程序的作用是?( )

单选题

题目描述

for i in range(2024,2124):

    if(i%400==0 or (i%4==0 and i%100!=0)):

        print("{}是闰年。".format(i))

    else:

        continue

以上 Python程序的作用是?( )

选项(单选)