import tkinter as tk import time import random def beyinarayici(): for i in range(1,100): Beyinaraniyor="Searching for the brain" print(f"Searching for the brain %{i+1}") yazi["text"]=Beyinaraniyor time.sleep(0.1) for i in range(1,100): time.sleep(0.1) Mantikarama="Reason is sought in users Tweets" yazi["text"]=Mantikarama print(f"Reason is sought in users Tweets %{i+1}") yazi["text"]="search ended" yazi2["text"]="Result:Brain is not finded" pencere=tk.Tk() pencere.title("Brain Founder") pencere.geometry("300x300") yazi=tk.Label(text="Enter the user whose brain program will search.") yazi.place(x=35,y=10) yazi2=tk.Label(text="Result:",font="50") yazi2.place(x=50,y=120) kullaniciadigiris=tk.Entry() kullaniciadigiris.place(x=50,y=30) batusu=tk.Button(text="Start the brain search",command=beyinarayici) #beyin arama tusu batusu.place(x=50,y=80) pencere.mainloop()