while index < 100: if random.randint(0,1): index += 1 orzel += 1 else: reszka +=1 index +=1