import random
point = 10000
sc=0
psc=0
listam = [0,0,0]
while point > 1:
    sc=0
    psc=random.randint(0,point)
    while sum(listam) % 2 != 1:
        listam = [random.randint(0,1) for j in range(10)]
        sc+=1
    point -= psc-sc
    print(point)
        
        

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: