feat: format codes

This commit is contained in:
2025-09-03 22:54:00 +08:00
parent 3cbd697e60
commit afe5995412
4 changed files with 13 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
def is_leap_year(year: int):
return year % 4 == 0 and year % 100 != 0 or year % 400 == 0
if __name__ == "__main__":
print(1582, is_leap_year(1582))
print(2000, is_leap_year(2000))