New submission from Talha Demirsoy :
Dear Python Developers,
I made a program that finds how many 0's at the end of the number
But when I enter number has 23 zero its okay but when I enter number has 24
zero its crash
--
components: Build
files: howmany0.py
messages: 365827
Talha Demirsoy added the comment:
I shared but I write again.
sayac = 0
fakto = 100
while True:
if fakto % 10 == 0:
sayac += 1
fakto = fakto / 10
elif fakto % 10 > 0:
break
print(sa
New submission from Talha Demirsoy :
When I try to enter 10^23 or less its gives me ture but when I tried 10^24 and
more its give me just 1
--
files: howmany0.py
messages: 365834
nosy: talha.demirsoy
priority: normal
severity: normal
status: open
title: Last digit count error
type
Talha Demirsoy added the comment:
sorry delete pls
--
___
Python tracker
<https://bugs.python.org/issue40201>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Talha Demirsoy :
Removed file: https://bugs.python.org/file49039/howmany0.py
___
Python tracker
<https://bugs.python.org/issue40201>
___
___
Python-bugs-list m