[issue40200] count 0 crash

Talha Demirsoy report at bugs.python.org
Sun Apr 5 19:07:42 EDT 2020


Talha Demirsoy <talhademirsoy at gmail.com> added the comment:

I shared but I write again.

sayac = 0
fakto = 10000000000000000000000
while True:
    if fakto % 10 == 0:
        sayac += 1
        fakto = fakto / 10
    elif fakto % 10 > 0:
        break
print(sayac)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40200>
_______________________________________


More information about the Python-bugs-list mailing list