arrow_forward همه ارسال‌ها

جزئیات ارسال کد#697

code_blocks
مسئله مربوطه: چالش سال کبیسه (#37) arrow_outward
verified
وضعیت داوری نهایی: پذیرفته شد
terminal
زبان برنامه‌نویسی: Python
schedule
ارسال‌کننده و زمان:
melisa azadi (۱ سال پیش)
descriptionsolution.py ۹ خط • ۱۶۲ بایت
1
2x = int(input())
3
4if x % 4 == 0 and x % 100 != 0:
5 print("Leap")
6elif x % 100 == 0 and x % 400 == 0:
7 print("Leap")
8else:
9 print("Not Leap")
کد ارسال‌شده برای داوری خودکار هاتکدز UTF-8