from tkinter import *
screen=Tk()

screen.title("Addition Calculator")

def add():
    a = float(number.get())+float(number2.get())
    result.set(f'{a}')
#widget
Label(text="Addition").pack()

number=Entry(screen)
number.pack()

number2=Entry(screen)
number2.pack()

Button(text="Add",command=add).pack()

result=IntVar()
Label(text="",textvariable=result).pack()

screen.mainloop()
e9ee60647435646facacec8ac786f7d836fdbfe1
<mask token>


def add():
    a = float(number.get()) + float(number2.get())
    result.set(f'{a}')


<mask token>

<mask token>
screen.title('Addition Calculator')


def add():
    a = float(number.get()) + float(number2.get())
    result.set(f'{a}')


Label(text='Addition').pack()
<mask token>
number.pack()
<mask token>
number2.pack()
Button(text='Add', command=add).pack()
<mask token>
Label(text='', textvariable=result).pack()
screen.mainloop()

<mask token>
screen = Tk()
screen.title('Addition Calculator')


def add():
    a = float(number.get()) + float(number2.get())
    result.set(f'{a}')


Label(text='Addition').pack()
number = Entry(screen)
number.pack()
number2 = Entry(screen)
number2.pack()
Button(text='Add', command=add).pack()
result = IntVar()
Label(text='', textvariable=result).pack()
screen.mainloop()

from tkinter import *
screen = Tk()
screen.title('Addition Calculator')


def add():
    a = float(number.get()) + float(number2.get())
    result.set(f'{a}')


Label(text='Addition').pack()
number = Entry(screen)
number.pack()
number2 = Entry(screen)
number2.pack()
Button(text='Add', command=add).pack()
result = IntVar()
Label(text='', textvariable=result).pack()
screen.mainloop()

from tkinter import *
screen=Tk()

screen.title("Addition Calculator")

def add():
    a = float(number.get())+float(number2.get())
    result.set(f'{a}')
#widget
Label(text="Addition").pack()

number=Entry(screen)
number.pack()

number2=Entry(screen)
number2.pack()

Button(text="Add",command=add).pack()

result=IntVar()
Label(text="",textvariable=result).pack()

screen.mainloop()