import random import time ,math, os def ask(): while True: sayyiiiiii = int(random.randint(21,100)) hintt = sayyiiiiii - 20 hinttt2 = sayyiiiiii + 10 if hinttt2 >= 100: farak = hinttt2 - sayyiiiiii hinttt2 = hinttt2 - farak print(str(hintt) + " ile " + str(hinttt2) + " arasında bir sayı") cepadpakdaklhp = input("aklımda tuttuğum sayı kaç: ") if int(cepadpakdaklhp) == int(sayyiiiiii): print("nasıl bildin oc") time.sleep(1) os.system("cls") elif cepadpakdaklhp != sayyiiiiii: print("yo puhhahahah") time.sleep(1) os.system("cls") ask()