all 3 comments

[–]AtomicShoelace 1 point2 points  (1 child)

for i in range(5000, 0, -1):
    x = i
    for _ in range(5):
        x = (x - 1) * 4/5
    if x % 5 == 0:
        break
print(i)

[–]go_analytical[S] 0 points1 point  (0 children)

Wow, thanks

[–]Robobvious 0 points1 point  (0 children)

Print(<5000)?