-
코드
year = int(input()) if year%4 ==0 and year%100 != 0: print("1") elif year%400 == 0: print("1") else: print("0")
'알고리즘 > 백준' 카테고리의 다른 글
[백준] 2884번 알람 시계 (파이썬) (0) 2021.12.24 [백준] 14681번 사분면 고르기 (파이썬) (0) 2021.12.24 [백준] 9498번 시험 성적 (파이썬) (0) 2021.12.24 [백준] 1330번 두 수 비교하기 (파이썬) (0) 2021.12.24 [백준] 2588번 곱셈 (파이썬) (0) 2021.12.24