본문 바로가기
백준문제/브론즈 4

백준) 28352번 - python

by kiseno 2024. 5. 2.
728x90
반응형
SMALL
n = int(input())
def factorial(n):
    if n == 1 : return 1
    else : return n * factorial(n-1)
week = factorial(n) // (60 * 60 * 24 * 7)
print(week)
728x90
반응형
LIST

'백준문제 > 브론즈 4' 카테고리의 다른 글

백준) 30794번 - python  (0) 2024.05.04
백준) 30008번 - python  (0) 2024.05.03
백준) 28290번 - python  (0) 2024.05.01
백준) 28281번 - python  (0) 2024.04.30
백준) 25304번 - python  (0) 2024.04.29