def gl():
root = Tk()
root.title("Asport")
root.geometry("550x350+500+200")
root.resizable(False, False)
root['bg'] = 'Ivory'
def change(g):
global g
if var.get() == 0:
g = 1.2
elif var.get() == 1:
g = 1.375
elif var.get() == 2:
g = 1.55
elif var.get() == 3:
g = 1.725
elif var.get() == 4:
g = 1.9
def red():
r = float(entry.get())
d = float(entry1.get())
n = float(entry2.get())
t = (9.99 * n + 6.25 * d - 4.92 * r + 5) * g
t = round(t)
return t