My problem is, increasing numbers in while loop by every second. I have found the solution in shell, but "time.sleep()" function doesn't work on "Tkinter". Please help!
import time
from tkinter import *
root = Tk()
root.configure(background="grey")
root.geometry("500x500")
#I want to increase money in label every one second +1 which is displayed,
Money = 100
etiket1 = Label(root,text = str(money)+"$",fg = "Green")
etiket1.pack()
while money < 300:
money += 1
time.sleep(1)
if money == 300:
break
#"while" loop doesn't work with "time.sleep()" in tkinter
root.mainloop()