본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 8558번 Silnia

by 현장 2022. 6. 14.

-Code

from math import factorial
n = int(input())
print(str(factorial(n))[-1])