https://www.acmicpc.net/problem/1676
팩토리얼 표
뒤에서부터 0이 나오지 않을때까지 0의 개수를 세야함. pop해서 0이 나오지 않는 순간에 멈춤.
import math
n=int(input())
nums=list(str(int(math.factorial(n))))
count=0
while nums.pop()=='0':
count+=1
print(count)
팩토리얼 구하기 -> 0을 세기위해 문자로 변환 -> 왼쪽부터 0을 없애면서 0의 수를 세기 위해 리스트로 변환