year = 2024

if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0:
    print("윤년")
else:
    print("윤년이 아닙니다")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: