Dimo4ka Posted April 24, 2023 Posted April 24, 2023 import random def counter(a=10): for i in range(1, 7000): a += random.randrange(1, 9, 1) if a == 6639: break elif a > 6639: break return a x = 0 while x != 6639: x = counter() if x == 6639: print(x) break 1
mehmet Posted April 25, 2023 Posted April 25, 2023 @GHARIB do what you gotta do! @rMks so passed me on the forum! 3k posts 3
Recommended Posts