import math
def count_trailing_zeros_in_factorial(n):count = 0divisor = 5
N = 25result = count_trailing_zeros_in_factorial(N)print(f"There are {result} trailing zeros in {N}!")
import math
def count_trailing_zeros_in_factorial(n):
while n >= divisor:count = 0
divisor = 5
count += n // divisor
divisor *= 5
return count
N = 25
result = count_trailing_zeros_in_factorial(N)
print(f"There are {result} trailing zeros in {N}!")