i created the below code to do some math, i would like to know how to show the value after running the code to the user?
import math from Tkinter import * def circle_weight(): area = math.pi*int(ent1.get())**2 weight = area*int(ent2.get()) print weight master = Tk() master.title("Disc Weight Calculator") master.geometry("300x300") master.wm_iconbitmap('steel-alloy.ico') lbl1=Label(master,text="Radius",bg="cornsilk") ent1=Entry(master) lbl1.pack() ent1.pack() lbl2=Label(master,text="Thk") ent2=Entry(master) lbl2.pack() ent2.pack() btn=Button(master,text="Calculate",command=circle_weight) btn.pack() master.mainloop()