Skip to content

farzad72/first-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Write a program that will calculate the number of trailing zeros in a factorial of a given number.

N! = 1 * 2 * 3 * ... * N

Examples zeros(6) = 1

6! = 1 * 2 * 3 * 4 * 5 * 6 = 720 --> 1 trailing zero

zeros(12) = 2

12! = 479001600 --> 2 trailing zeros

About

first project-- python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages