Leap Year Checking
检查给定的year 是否为闰年。除了世纪末的年份必须能被 400 整除外,能被 4 整除的年份都是闰年。这意味着 2000 年是闰年,而 1900 年不是。
输入整数 (int).
输出:逻辑值 (bool).
示例
assert is_leap_year(2000)...
You should be an authorized user in order to see the full description and start solving this mission.