python:判断闰年

    技术2022-09-01  100

    print("请输入需要判断年份:") year = int(input()) if (year % 4 == 0 & year % 100 != 0 & year % 400 == 0): print("是闰年") else: print("不是闰年")
    Processed: 0.010, SQL: 9