Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def leap_year(year):
- if year % 4 == 0:
- if year % 100 == 0:
- if year % 400 == 0:
- return True
- return False
- return True
- return False
- if __name__ == "__main__":
- year = int(input("year="))
- print(biss_year(year))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement