Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- try:
- year = int(input())
- if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0:
- print("This is leap year.")
- if year % 15 == 0:
- print("This is huluculu festival year.")
- if year % 55 == 0:
- print("This is bulukulu festival year.")
- else:
- if year % 15 == 0:
- print("This is huluculu festival year.")
- else:
- print("This is an ordinary year.")
- print('\n')
- except EOFError:
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement