import time import random master ="yazı" flips = 0 yazi = 0 tura = 0 while flips < 10: if random.randint(1,2) == 1: print("yazı") if "yazı" == master: pass yazi += 1 else: print("tura") tura += 1 flips += 1 time.sleep(1) input ("exit")