摘要:
def leap_year(year,month,day): if month==2 and day==28:#月和日刚好是2月28日直接就是闰年 return True elif (year%4==0 and year%100 != 0) or year%400==0:# 普通年能被4整除且不能被 阅读全文
摘要:
wrongcount = 0 rightcount = 0 number = 0 while number <= 10: import random a = random.randint(0,10) b = random.randint(0,10) answer = int(input('%d+%d = '%(a,b))) if answer == a +... 阅读全文