#### DeathByKugelBlitz

Gold Member

- 22

- 11

This is what I was aiming forPython also has "rstrip", which makes it a one-liner:

Code:`>>> len(str(math.factorial(1000)))-len(str(math.factorial(1000)).rstrip("0")) 249`