from tkinter import *
import time
from tkinter import ttk

root = Tk()
root.geometry('1400x800+0+0')
root.title("Hotel Management System")

#------------------------------------Window's Partitions--------------------

Tops = Frame(root,width=700,height=100, bg='blue',relief=SUNKEN)
Tops.pack(side=BOTTOM)

f1 = Frame(root,width=800, height=700, relief=SUNKEN)
f1.pack(side=LEFT)

f2 = Frame(root, width=100, height=700,relief=SUNKEN)
f2.pack(side=RIGHT)

f3 = Frame(root, width=50, height=700, relief=SUNKEN)
f3.pack(side=LEFT)

f4 = Frame(root, width=100, height=700, relief=SUNKEN)
f4.pack(side=LEFT)

#----------------------------------Main Screen----------------------------------
txt_input = StringVar(value='Hotel Management System')
Display = Entry(Tops,font=('arial',80,'bold'),fg='white',bd=20,bg='blue',justify='right',textvariable=txt_input)

Display.grid(columnspan=2)


#--------------------------------Date and Time------------------------------------

localtime = time.asctime(time.localtime(time.time()))

lblInfo = Label(f2,font=('arial',20,'bold'), text=localtime,fg='dark blue', bd=10, anchor=W)
lblInfo.grid(row=0,column=0,columnspan=4)


#------------------------------Row 1----------------------------------------------
btn7 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='7').grid(row=1,column=0)
btn8 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='8').grid(row=1,column=1)
btn9 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='9').grid(row=1,column=2)
btnC = Button(f2,padx=5,pady=5,bd=5,fg='black',font=('arial',30,'bold'),text='C',bg='green').grid(row=1,column=3)

#------------------------------Row 2----------------------------------------------

btn4 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='4').grid(row=2,column=0)
btn5 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='5').grid(row=2,column=1)
btn6 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='6').grid(row=2,column=2)
btnplus = Button(f2,padx=8,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='+',bg='orange').grid(row=2,column=3)

#------------------------------Row 3----------------------------------------------

btn1 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='1').grid(row=3,column=0)
btn2 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='2').grid(row=3,column=1)
btn3 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='3').grid(row=3,column=2)
btnminus = Button(f2,padx=3,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='-',bg='orange').grid(row=3,column=3)

#------------------------------Row 4----------------------------------------------

btn0 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='0').grid(row=4,column=0)
btndot = Button(f2,padx=9,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='.',bg='orange').grid(row=4,column=1)
btndivision = Button(f2,padx=10,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='/',bg='orange').grid(row=4,column=2)
btnmultiply = Button(f2,padx=9,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='*',bg='orange').grid(row=4,column=3)

#------------------------------Row 5----------------------------------------------

btnequals = Button(f2,padx=64,pady=2,bd=8,fg='black',font=('arial',30,'bold'),text='=',bg='green').grid(row=5,column=0,columnspan=2)
btnopenbracket = Button(f2,padx=19,pady=2,bd=8,fg='black',font=('arial',30,'bold'),text='(',bg='orange').grid(row=5,column=2)
btnclosebracket = Button(f2,padx=23,pady=2,bd=8,fg='black',font=('arial',30,'bold'),text=')',bg='orange').grid(row=5,column=3)



# --------------------------------------------Choose Meal-----------------------------------
Meal = IntVar()
Mealdicator = StringVar(value='Delicious Meals')

lblMeal = Label(f1,font=('arial',16,'bold'),text='Choose Meal',bd=10, anchor=W)
lblMeal.grid(row=0,column=0)
txtMeal = ttk.Combobox(f1,font=('arial',16,'bold'),textvariable=Mealdicator)
txtMeal['value'] = ('Fried Rice','Fried Rice & Chicken','Beef','Sharwama','Cheese Balls','Burger')
txtMeal.grid(row=0,column=1)

lblQtofMeal = Label(f1,font=('arial',16,'bold'),text='Qty of Meal',bd=10,anchor=W)
lblQtofMeal.grid(row=1,column=0)
txtQtofMeal = Entry(f1,font=('arial',16,'bold'),textvariable=Meal,bd=10,insertwidth=4,bg='white',justify='right')
txtQtofMeal.grid(row=1,column=1)


# ---------------------------------------------Choose Drinks-----------------------------------

Drink = IntVar()
Drinkdicator = StringVar(value='Fresh drinks')

lblDrink = Label(f1,font=('arial',16,'bold'),text='Choose Drinks',bd=10, anchor=W)
lblDrink.grid(row=2,column=0)
txtDrink = ttk.Combobox(f1,font=('arial',16,'bold'),textvariable=Drinkdicator)
txtDrink['value'] = ('Bottled Water','Coca-Coala','Pepse','Maaza','Wine','Alcohol')
txtDrink.grid(row=2,column=1)

lblQtofDrink = Label(f1,font=('arial',16,'bold'),text='Qty of Drinks',bd=10,anchor=W)
lblQtofDrink.grid(row=3,column=0)
txtQtofDrink = Entry(f1,font=('arial',16,'bold'),textvariable=Drink,bd=10,insertwidth=4,bg='white',justify='right')
txtQtofDrink.grid(row=3,column=1)

# --------------------------------------------Order Delivery-----------------------------------

chkb1 = IntVar()
lblHomeDev = Label(f1,font=('arial',16,'bold'),text='Order Delivery',bd=10,anchor = W)
lblHomeDev.grid(row=4,column=0)
check1 = Checkbutton(f1,text='Yes',variable=chkb1,font=('aral',16,'bold'))
check1.grid(row=4,column=1)


# -----------------------------------------Book a room-------------------------------------

v = IntVar()
v.set(3)
lblRoom = Label(f1,font=('arial',16,'bold'),text='Book a Room',bd=10,anchor=W)
lblRoom.grid(row=5,column=0)

Myradios = Radiobutton(f1,text='VIP',font=('arial',16,'bold'),variable=v,value=1)
Myradios.grid(row=5,column=1,sticky=W)

Myradios = Radiobutton(f1,text='Normal',font=('arial',16,'bold'),variable=v,value=1)
Myradios.grid(row=5,column=1)
Myradios = Radiobutton(f1,text='No',font=('arial',16,'bold'),variable=v,value=1)
Myradios.grid(row=5,column=1,sticky=E)


#----------------------------------Cost Display Screens--------------------------------------

Cost = StringVar()
lblMeal = Label(f1, font=('arial',16,'bold'),text='Cost of Meal($)',bd=16,anchor=W)
lblMeal.grid(row=0,column=2)
txtMeal = Entry(f1,font=('arial',16,'bold'),textvariable=Cost,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtMeal.grid(row=0,column=3)


Drinks = StringVar()
lblDrink1 = Label(f1, font=('arial',16,'bold'),text='Cost of Drink($)',bd=16,anchor=W)
lblDrink1.grid(row=1,column=2)
txtDrink1 = Entry(f1,font=('arial',16,'bold'),textvariable=Drinks,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtDrink1.grid(row=1,column=3)

DevCost = StringVar()
lblDev = Label(f1, font=('arial',16,'bold'),text='Delivery Cost($)',bd=16,anchor=W)
lblDev.grid(row=2,column=2)
txtDev = Entry(f1,font=('arial',16,'bold'),textvariable=DevCost,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtDev.grid(row=2,column=3)

RoomCost = StringVar()
lblRoom = Label(f1, font=('arial',16,'bold'),text='Cost of Room($)',bd=16,anchor=W)
lblRoom.grid(row=3,column=2)
txtRoom = Entry(f1,font=('arial',16,'bold'),textvariable=RoomCost,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtRoom.grid(row=3,column=3)


ServiceCharge = StringVar()
lblService = Label(f1, font=('arial',16,'bold'),text='Service Fee($)',bd=16,anchor=W)
lblService.grid(row=4,column=2)
txtService = Entry(f1,font=('arial',16,'bold'),textvariable=ServiceCharge,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtService.grid(row=4,column=3)

Total = StringVar()
lblTotal = Label(f1, font=('arial',16,'bold'),text='Total Cost($)',bd=16,anchor=W)
lblTotal.grid(row=5,column=2)
txtTotal = Entry(f1,font=('arial',16,'bold'),textvariable=Total,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtTotal.grid(row=5,column=3)


#------------------------------------------Currency Converter----------------------------

var1 = IntVar()
indicator = StringVar(value='Choose a Country')

lblCurrConv = Label(f1,font=('arial',16,'bold'),text='-------------------------------Currency Converter-----------------------',bd=20,anchor=W)
lblCurrConv.grid(row=6,column=0,columnspan=4)

lblCountry = Label(f1,font=('arial',16,'bold'),text='Nationality',bd=20,anchor=W)
lblCountry.grid(row=7,column=0)
txtCountry = ttk.Combobox(f1,font=('arial',16,'bold'),textvariable=indicator)
txtCountry['value'] = ('China','France','Ghana','India','Australia')
txtCountry.grid(row=7,column=1)

lblAmount = Label(f1,font=('arial',16,'bold'),text='Amount',bd=20,anchor=W)
lblAmount.grid(row=7,column=2)
txtAmount = Entry(f1,font=('arial',16,'bold'),textvariable=var1,bd=10,insertwidth=4,bg='white',justify='right')
txtAmount.grid(row=7,column=3)



# ----------------------------------------------Control Buttons-----------------------------------

btnConvert = Button(f1,padx=10,pady=4,bd=16,fg='white',font=('arial',16,'bold'),width=10,text='Convert',bg='orange')
btnConvert.grid(row=8,column=2)


btnTotal = Button(f4,padx=5,pady=8,bd=16,fg='white',font=('arial',16,'bold'),width=10,text='Total',bg='orange')
btnTotal.grid(row=0,column=0)

btnScreen = Button(f4,padx=5,pady=8,bd=16,fg='white',font=('arial',16,'bold'),width=10,text='Clear',bg='blue')
btnScreen.grid(row=1,column=0)


btnReset = Button(f4,padx=5,pady=8,bd=16,fg='white',font=('arial',16,'bold'),width=10,text='Reset',bg='red')
btnReset.grid(row=2,column=0)

btnExit = Button(f4,padx=2,pady=2,bd=10,fg='white',font=('arial',16,'bold'),width=10,text='Exit',bg='green')
btnExit.grid(row=3,column=0)






root.mainloop()

3b88c4cbb502bcccddfc67261b3833f36f617b4c
<mask token>

<mask token>
root.geometry('1400x800+0+0')
root.title('Hotel Management System')
<mask token>
Tops.pack(side=BOTTOM)
<mask token>
f1.pack(side=LEFT)
<mask token>
f2.pack(side=RIGHT)
<mask token>
f3.pack(side=LEFT)
<mask token>
f4.pack(side=LEFT)
<mask token>
Display.grid(columnspan=2)
<mask token>
lblInfo.grid(row=0, column=0, columnspan=4)
<mask token>
lblMeal.grid(row=0, column=0)
<mask token>
txtMeal.grid(row=0, column=1)
<mask token>
lblQtofMeal.grid(row=1, column=0)
<mask token>
txtQtofMeal.grid(row=1, column=1)
<mask token>
lblDrink.grid(row=2, column=0)
<mask token>
txtDrink.grid(row=2, column=1)
<mask token>
lblQtofDrink.grid(row=3, column=0)
<mask token>
txtQtofDrink.grid(row=3, column=1)
<mask token>
lblHomeDev.grid(row=4, column=0)
<mask token>
check1.grid(row=4, column=1)
<mask token>
v.set(3)
<mask token>
lblRoom.grid(row=5, column=0)
<mask token>
Myradios.grid(row=5, column=1, sticky=W)
<mask token>
Myradios.grid(row=5, column=1)
<mask token>
Myradios.grid(row=5, column=1, sticky=E)
<mask token>
lblMeal.grid(row=0, column=2)
<mask token>
txtMeal.grid(row=0, column=3)
<mask token>
lblDrink1.grid(row=1, column=2)
<mask token>
txtDrink1.grid(row=1, column=3)
<mask token>
lblDev.grid(row=2, column=2)
<mask token>
txtDev.grid(row=2, column=3)
<mask token>
lblRoom.grid(row=3, column=2)
<mask token>
txtRoom.grid(row=3, column=3)
<mask token>
lblService.grid(row=4, column=2)
<mask token>
txtService.grid(row=4, column=3)
<mask token>
lblTotal.grid(row=5, column=2)
<mask token>
txtTotal.grid(row=5, column=3)
<mask token>
lblCurrConv.grid(row=6, column=0, columnspan=4)
<mask token>
lblCountry.grid(row=7, column=0)
<mask token>
txtCountry.grid(row=7, column=1)
<mask token>
lblAmount.grid(row=7, column=2)
<mask token>
txtAmount.grid(row=7, column=3)
<mask token>
btnConvert.grid(row=8, column=2)
<mask token>
btnTotal.grid(row=0, column=0)
<mask token>
btnScreen.grid(row=1, column=0)
<mask token>
btnReset.grid(row=2, column=0)
<mask token>
btnExit.grid(row=3, column=0)
root.mainloop()

<mask token>
root = Tk()
root.geometry('1400x800+0+0')
root.title('Hotel Management System')
Tops = Frame(root, width=700, height=100, bg='blue', relief=SUNKEN)
Tops.pack(side=BOTTOM)
f1 = Frame(root, width=800, height=700, relief=SUNKEN)
f1.pack(side=LEFT)
f2 = Frame(root, width=100, height=700, relief=SUNKEN)
f2.pack(side=RIGHT)
f3 = Frame(root, width=50, height=700, relief=SUNKEN)
f3.pack(side=LEFT)
f4 = Frame(root, width=100, height=700, relief=SUNKEN)
f4.pack(side=LEFT)
txt_input = StringVar(value='Hotel Management System')
Display = Entry(Tops, font=('arial', 80, 'bold'), fg='white', bd=20, bg=
    'blue', justify='right', textvariable=txt_input)
Display.grid(columnspan=2)
localtime = time.asctime(time.localtime(time.time()))
lblInfo = Label(f2, font=('arial', 20, 'bold'), text=localtime, fg=
    'dark blue', bd=10, anchor=W)
lblInfo.grid(row=0, column=0, columnspan=4)
btn7 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='7').grid(row=1, column=0)
btn8 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='8').grid(row=1, column=1)
btn9 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='9').grid(row=1, column=2)
btnC = Button(f2, padx=5, pady=5, bd=5, fg='black', font=('arial', 30,
    'bold'), text='C', bg='green').grid(row=1, column=3)
btn4 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='4').grid(row=2, column=0)
btn5 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='5').grid(row=2, column=1)
btn6 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='6').grid(row=2, column=2)
btnplus = Button(f2, padx=8, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='+', bg='orange').grid(row=2, column=3)
btn1 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='1').grid(row=3, column=0)
btn2 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='2').grid(row=3, column=1)
btn3 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='3').grid(row=3, column=2)
btnminus = Button(f2, padx=3, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='-', bg='orange').grid(row=3, column=3)
btn0 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='0').grid(row=4, column=0)
btndot = Button(f2, padx=9, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='.', bg='orange').grid(row=4, column=1)
btndivision = Button(f2, padx=10, pady=5, bd=8, fg='black', font=('arial', 
    30, 'bold'), text='/', bg='orange').grid(row=4, column=2)
btnmultiply = Button(f2, padx=9, pady=5, bd=8, fg='black', font=('arial', 
    30, 'bold'), text='*', bg='orange').grid(row=4, column=3)
btnequals = Button(f2, padx=64, pady=2, bd=8, fg='black', font=('arial', 30,
    'bold'), text='=', bg='green').grid(row=5, column=0, columnspan=2)
btnopenbracket = Button(f2, padx=19, pady=2, bd=8, fg='black', font=(
    'arial', 30, 'bold'), text='(', bg='orange').grid(row=5, column=2)
btnclosebracket = Button(f2, padx=23, pady=2, bd=8, fg='black', font=(
    'arial', 30, 'bold'), text=')', bg='orange').grid(row=5, column=3)
Meal = IntVar()
Mealdicator = StringVar(value='Delicious Meals')
lblMeal = Label(f1, font=('arial', 16, 'bold'), text='Choose Meal', bd=10,
    anchor=W)
lblMeal.grid(row=0, column=0)
txtMeal = ttk.Combobox(f1, font=('arial', 16, 'bold'), textvariable=Mealdicator
    )
txtMeal['value'] = ('Fried Rice', 'Fried Rice & Chicken', 'Beef',
    'Sharwama', 'Cheese Balls', 'Burger')
txtMeal.grid(row=0, column=1)
lblQtofMeal = Label(f1, font=('arial', 16, 'bold'), text='Qty of Meal', bd=
    10, anchor=W)
lblQtofMeal.grid(row=1, column=0)
txtQtofMeal = Entry(f1, font=('arial', 16, 'bold'), textvariable=Meal, bd=
    10, insertwidth=4, bg='white', justify='right')
txtQtofMeal.grid(row=1, column=1)
Drink = IntVar()
Drinkdicator = StringVar(value='Fresh drinks')
lblDrink = Label(f1, font=('arial', 16, 'bold'), text='Choose Drinks', bd=
    10, anchor=W)
lblDrink.grid(row=2, column=0)
txtDrink = ttk.Combobox(f1, font=('arial', 16, 'bold'), textvariable=
    Drinkdicator)
txtDrink['value'
    ] = 'Bottled Water', 'Coca-Coala', 'Pepse', 'Maaza', 'Wine', 'Alcohol'
txtDrink.grid(row=2, column=1)
lblQtofDrink = Label(f1, font=('arial', 16, 'bold'), text='Qty of Drinks',
    bd=10, anchor=W)
lblQtofDrink.grid(row=3, column=0)
txtQtofDrink = Entry(f1, font=('arial', 16, 'bold'), textvariable=Drink, bd
    =10, insertwidth=4, bg='white', justify='right')
txtQtofDrink.grid(row=3, column=1)
chkb1 = IntVar()
lblHomeDev = Label(f1, font=('arial', 16, 'bold'), text='Order Delivery',
    bd=10, anchor=W)
lblHomeDev.grid(row=4, column=0)
check1 = Checkbutton(f1, text='Yes', variable=chkb1, font=('aral', 16, 'bold'))
check1.grid(row=4, column=1)
v = IntVar()
v.set(3)
lblRoom = Label(f1, font=('arial', 16, 'bold'), text='Book a Room', bd=10,
    anchor=W)
lblRoom.grid(row=5, column=0)
Myradios = Radiobutton(f1, text='VIP', font=('arial', 16, 'bold'), variable
    =v, value=1)
Myradios.grid(row=5, column=1, sticky=W)
Myradios = Radiobutton(f1, text='Normal', font=('arial', 16, 'bold'),
    variable=v, value=1)
Myradios.grid(row=5, column=1)
Myradios = Radiobutton(f1, text='No', font=('arial', 16, 'bold'), variable=
    v, value=1)
Myradios.grid(row=5, column=1, sticky=E)
Cost = StringVar()
lblMeal = Label(f1, font=('arial', 16, 'bold'), text='Cost of Meal($)', bd=
    16, anchor=W)
lblMeal.grid(row=0, column=2)
txtMeal = Entry(f1, font=('arial', 16, 'bold'), textvariable=Cost, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtMeal.grid(row=0, column=3)
Drinks = StringVar()
lblDrink1 = Label(f1, font=('arial', 16, 'bold'), text='Cost of Drink($)',
    bd=16, anchor=W)
lblDrink1.grid(row=1, column=2)
txtDrink1 = Entry(f1, font=('arial', 16, 'bold'), textvariable=Drinks, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtDrink1.grid(row=1, column=3)
DevCost = StringVar()
lblDev = Label(f1, font=('arial', 16, 'bold'), text='Delivery Cost($)', bd=
    16, anchor=W)
lblDev.grid(row=2, column=2)
txtDev = Entry(f1, font=('arial', 16, 'bold'), textvariable=DevCost, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtDev.grid(row=2, column=3)
RoomCost = StringVar()
lblRoom = Label(f1, font=('arial', 16, 'bold'), text='Cost of Room($)', bd=
    16, anchor=W)
lblRoom.grid(row=3, column=2)
txtRoom = Entry(f1, font=('arial', 16, 'bold'), textvariable=RoomCost, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtRoom.grid(row=3, column=3)
ServiceCharge = StringVar()
lblService = Label(f1, font=('arial', 16, 'bold'), text='Service Fee($)',
    bd=16, anchor=W)
lblService.grid(row=4, column=2)
txtService = Entry(f1, font=('arial', 16, 'bold'), textvariable=
    ServiceCharge, fg='white', bd=10, insertwidth=4, bg='blue', justify='right'
    )
txtService.grid(row=4, column=3)
Total = StringVar()
lblTotal = Label(f1, font=('arial', 16, 'bold'), text='Total Cost($)', bd=
    16, anchor=W)
lblTotal.grid(row=5, column=2)
txtTotal = Entry(f1, font=('arial', 16, 'bold'), textvariable=Total, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtTotal.grid(row=5, column=3)
var1 = IntVar()
indicator = StringVar(value='Choose a Country')
lblCurrConv = Label(f1, font=('arial', 16, 'bold'), text=
    '-------------------------------Currency Converter-----------------------',
    bd=20, anchor=W)
lblCurrConv.grid(row=6, column=0, columnspan=4)
lblCountry = Label(f1, font=('arial', 16, 'bold'), text='Nationality', bd=
    20, anchor=W)
lblCountry.grid(row=7, column=0)
txtCountry = ttk.Combobox(f1, font=('arial', 16, 'bold'), textvariable=
    indicator)
txtCountry['value'] = 'China', 'France', 'Ghana', 'India', 'Australia'
txtCountry.grid(row=7, column=1)
lblAmount = Label(f1, font=('arial', 16, 'bold'), text='Amount', bd=20,
    anchor=W)
lblAmount.grid(row=7, column=2)
txtAmount = Entry(f1, font=('arial', 16, 'bold'), textvariable=var1, bd=10,
    insertwidth=4, bg='white', justify='right')
txtAmount.grid(row=7, column=3)
btnConvert = Button(f1, padx=10, pady=4, bd=16, fg='white', font=('arial', 
    16, 'bold'), width=10, text='Convert', bg='orange')
btnConvert.grid(row=8, column=2)
btnTotal = Button(f4, padx=5, pady=8, bd=16, fg='white', font=('arial', 16,
    'bold'), width=10, text='Total', bg='orange')
btnTotal.grid(row=0, column=0)
btnScreen = Button(f4, padx=5, pady=8, bd=16, fg='white', font=('arial', 16,
    'bold'), width=10, text='Clear', bg='blue')
btnScreen.grid(row=1, column=0)
btnReset = Button(f4, padx=5, pady=8, bd=16, fg='white', font=('arial', 16,
    'bold'), width=10, text='Reset', bg='red')
btnReset.grid(row=2, column=0)
btnExit = Button(f4, padx=2, pady=2, bd=10, fg='white', font=('arial', 16,
    'bold'), width=10, text='Exit', bg='green')
btnExit.grid(row=3, column=0)
root.mainloop()

from tkinter import *
import time
from tkinter import ttk
root = Tk()
root.geometry('1400x800+0+0')
root.title('Hotel Management System')
Tops = Frame(root, width=700, height=100, bg='blue', relief=SUNKEN)
Tops.pack(side=BOTTOM)
f1 = Frame(root, width=800, height=700, relief=SUNKEN)
f1.pack(side=LEFT)
f2 = Frame(root, width=100, height=700, relief=SUNKEN)
f2.pack(side=RIGHT)
f3 = Frame(root, width=50, height=700, relief=SUNKEN)
f3.pack(side=LEFT)
f4 = Frame(root, width=100, height=700, relief=SUNKEN)
f4.pack(side=LEFT)
txt_input = StringVar(value='Hotel Management System')
Display = Entry(Tops, font=('arial', 80, 'bold'), fg='white', bd=20, bg=
    'blue', justify='right', textvariable=txt_input)
Display.grid(columnspan=2)
localtime = time.asctime(time.localtime(time.time()))
lblInfo = Label(f2, font=('arial', 20, 'bold'), text=localtime, fg=
    'dark blue', bd=10, anchor=W)
lblInfo.grid(row=0, column=0, columnspan=4)
btn7 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='7').grid(row=1, column=0)
btn8 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='8').grid(row=1, column=1)
btn9 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='9').grid(row=1, column=2)
btnC = Button(f2, padx=5, pady=5, bd=5, fg='black', font=('arial', 30,
    'bold'), text='C', bg='green').grid(row=1, column=3)
btn4 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='4').grid(row=2, column=0)
btn5 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='5').grid(row=2, column=1)
btn6 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='6').grid(row=2, column=2)
btnplus = Button(f2, padx=8, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='+', bg='orange').grid(row=2, column=3)
btn1 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='1').grid(row=3, column=0)
btn2 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='2').grid(row=3, column=1)
btn3 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='3').grid(row=3, column=2)
btnminus = Button(f2, padx=3, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='-', bg='orange').grid(row=3, column=3)
btn0 = Button(f2, padx=5, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='0').grid(row=4, column=0)
btndot = Button(f2, padx=9, pady=5, bd=8, fg='black', font=('arial', 30,
    'bold'), text='.', bg='orange').grid(row=4, column=1)
btndivision = Button(f2, padx=10, pady=5, bd=8, fg='black', font=('arial', 
    30, 'bold'), text='/', bg='orange').grid(row=4, column=2)
btnmultiply = Button(f2, padx=9, pady=5, bd=8, fg='black', font=('arial', 
    30, 'bold'), text='*', bg='orange').grid(row=4, column=3)
btnequals = Button(f2, padx=64, pady=2, bd=8, fg='black', font=('arial', 30,
    'bold'), text='=', bg='green').grid(row=5, column=0, columnspan=2)
btnopenbracket = Button(f2, padx=19, pady=2, bd=8, fg='black', font=(
    'arial', 30, 'bold'), text='(', bg='orange').grid(row=5, column=2)
btnclosebracket = Button(f2, padx=23, pady=2, bd=8, fg='black', font=(
    'arial', 30, 'bold'), text=')', bg='orange').grid(row=5, column=3)
Meal = IntVar()
Mealdicator = StringVar(value='Delicious Meals')
lblMeal = Label(f1, font=('arial', 16, 'bold'), text='Choose Meal', bd=10,
    anchor=W)
lblMeal.grid(row=0, column=0)
txtMeal = ttk.Combobox(f1, font=('arial', 16, 'bold'), textvariable=Mealdicator
    )
txtMeal['value'] = ('Fried Rice', 'Fried Rice & Chicken', 'Beef',
    'Sharwama', 'Cheese Balls', 'Burger')
txtMeal.grid(row=0, column=1)
lblQtofMeal = Label(f1, font=('arial', 16, 'bold'), text='Qty of Meal', bd=
    10, anchor=W)
lblQtofMeal.grid(row=1, column=0)
txtQtofMeal = Entry(f1, font=('arial', 16, 'bold'), textvariable=Meal, bd=
    10, insertwidth=4, bg='white', justify='right')
txtQtofMeal.grid(row=1, column=1)
Drink = IntVar()
Drinkdicator = StringVar(value='Fresh drinks')
lblDrink = Label(f1, font=('arial', 16, 'bold'), text='Choose Drinks', bd=
    10, anchor=W)
lblDrink.grid(row=2, column=0)
txtDrink = ttk.Combobox(f1, font=('arial', 16, 'bold'), textvariable=
    Drinkdicator)
txtDrink['value'
    ] = 'Bottled Water', 'Coca-Coala', 'Pepse', 'Maaza', 'Wine', 'Alcohol'
txtDrink.grid(row=2, column=1)
lblQtofDrink = Label(f1, font=('arial', 16, 'bold'), text='Qty of Drinks',
    bd=10, anchor=W)
lblQtofDrink.grid(row=3, column=0)
txtQtofDrink = Entry(f1, font=('arial', 16, 'bold'), textvariable=Drink, bd
    =10, insertwidth=4, bg='white', justify='right')
txtQtofDrink.grid(row=3, column=1)
chkb1 = IntVar()
lblHomeDev = Label(f1, font=('arial', 16, 'bold'), text='Order Delivery',
    bd=10, anchor=W)
lblHomeDev.grid(row=4, column=0)
check1 = Checkbutton(f1, text='Yes', variable=chkb1, font=('aral', 16, 'bold'))
check1.grid(row=4, column=1)
v = IntVar()
v.set(3)
lblRoom = Label(f1, font=('arial', 16, 'bold'), text='Book a Room', bd=10,
    anchor=W)
lblRoom.grid(row=5, column=0)
Myradios = Radiobutton(f1, text='VIP', font=('arial', 16, 'bold'), variable
    =v, value=1)
Myradios.grid(row=5, column=1, sticky=W)
Myradios = Radiobutton(f1, text='Normal', font=('arial', 16, 'bold'),
    variable=v, value=1)
Myradios.grid(row=5, column=1)
Myradios = Radiobutton(f1, text='No', font=('arial', 16, 'bold'), variable=
    v, value=1)
Myradios.grid(row=5, column=1, sticky=E)
Cost = StringVar()
lblMeal = Label(f1, font=('arial', 16, 'bold'), text='Cost of Meal($)', bd=
    16, anchor=W)
lblMeal.grid(row=0, column=2)
txtMeal = Entry(f1, font=('arial', 16, 'bold'), textvariable=Cost, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtMeal.grid(row=0, column=3)
Drinks = StringVar()
lblDrink1 = Label(f1, font=('arial', 16, 'bold'), text='Cost of Drink($)',
    bd=16, anchor=W)
lblDrink1.grid(row=1, column=2)
txtDrink1 = Entry(f1, font=('arial', 16, 'bold'), textvariable=Drinks, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtDrink1.grid(row=1, column=3)
DevCost = StringVar()
lblDev = Label(f1, font=('arial', 16, 'bold'), text='Delivery Cost($)', bd=
    16, anchor=W)
lblDev.grid(row=2, column=2)
txtDev = Entry(f1, font=('arial', 16, 'bold'), textvariable=DevCost, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtDev.grid(row=2, column=3)
RoomCost = StringVar()
lblRoom = Label(f1, font=('arial', 16, 'bold'), text='Cost of Room($)', bd=
    16, anchor=W)
lblRoom.grid(row=3, column=2)
txtRoom = Entry(f1, font=('arial', 16, 'bold'), textvariable=RoomCost, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtRoom.grid(row=3, column=3)
ServiceCharge = StringVar()
lblService = Label(f1, font=('arial', 16, 'bold'), text='Service Fee($)',
    bd=16, anchor=W)
lblService.grid(row=4, column=2)
txtService = Entry(f1, font=('arial', 16, 'bold'), textvariable=
    ServiceCharge, fg='white', bd=10, insertwidth=4, bg='blue', justify='right'
    )
txtService.grid(row=4, column=3)
Total = StringVar()
lblTotal = Label(f1, font=('arial', 16, 'bold'), text='Total Cost($)', bd=
    16, anchor=W)
lblTotal.grid(row=5, column=2)
txtTotal = Entry(f1, font=('arial', 16, 'bold'), textvariable=Total, fg=
    'white', bd=10, insertwidth=4, bg='blue', justify='right')
txtTotal.grid(row=5, column=3)
var1 = IntVar()
indicator = StringVar(value='Choose a Country')
lblCurrConv = Label(f1, font=('arial', 16, 'bold'), text=
    '-------------------------------Currency Converter-----------------------',
    bd=20, anchor=W)
lblCurrConv.grid(row=6, column=0, columnspan=4)
lblCountry = Label(f1, font=('arial', 16, 'bold'), text='Nationality', bd=
    20, anchor=W)
lblCountry.grid(row=7, column=0)
txtCountry = ttk.Combobox(f1, font=('arial', 16, 'bold'), textvariable=
    indicator)
txtCountry['value'] = 'China', 'France', 'Ghana', 'India', 'Australia'
txtCountry.grid(row=7, column=1)
lblAmount = Label(f1, font=('arial', 16, 'bold'), text='Amount', bd=20,
    anchor=W)
lblAmount.grid(row=7, column=2)
txtAmount = Entry(f1, font=('arial', 16, 'bold'), textvariable=var1, bd=10,
    insertwidth=4, bg='white', justify='right')
txtAmount.grid(row=7, column=3)
btnConvert = Button(f1, padx=10, pady=4, bd=16, fg='white', font=('arial', 
    16, 'bold'), width=10, text='Convert', bg='orange')
btnConvert.grid(row=8, column=2)
btnTotal = Button(f4, padx=5, pady=8, bd=16, fg='white', font=('arial', 16,
    'bold'), width=10, text='Total', bg='orange')
btnTotal.grid(row=0, column=0)
btnScreen = Button(f4, padx=5, pady=8, bd=16, fg='white', font=('arial', 16,
    'bold'), width=10, text='Clear', bg='blue')
btnScreen.grid(row=1, column=0)
btnReset = Button(f4, padx=5, pady=8, bd=16, fg='white', font=('arial', 16,
    'bold'), width=10, text='Reset', bg='red')
btnReset.grid(row=2, column=0)
btnExit = Button(f4, padx=2, pady=2, bd=10, fg='white', font=('arial', 16,
    'bold'), width=10, text='Exit', bg='green')
btnExit.grid(row=3, column=0)
root.mainloop()

from tkinter import *
import time
from tkinter import ttk

root = Tk()
root.geometry('1400x800+0+0')
root.title("Hotel Management System")

#------------------------------------Window's Partitions--------------------

Tops = Frame(root,width=700,height=100, bg='blue',relief=SUNKEN)
Tops.pack(side=BOTTOM)

f1 = Frame(root,width=800, height=700, relief=SUNKEN)
f1.pack(side=LEFT)

f2 = Frame(root, width=100, height=700,relief=SUNKEN)
f2.pack(side=RIGHT)

f3 = Frame(root, width=50, height=700, relief=SUNKEN)
f3.pack(side=LEFT)

f4 = Frame(root, width=100, height=700, relief=SUNKEN)
f4.pack(side=LEFT)

#----------------------------------Main Screen----------------------------------
txt_input = StringVar(value='Hotel Management System')
Display = Entry(Tops,font=('arial',80,'bold'),fg='white',bd=20,bg='blue',justify='right',textvariable=txt_input)

Display.grid(columnspan=2)


#--------------------------------Date and Time------------------------------------

localtime = time.asctime(time.localtime(time.time()))

lblInfo = Label(f2,font=('arial',20,'bold'), text=localtime,fg='dark blue', bd=10, anchor=W)
lblInfo.grid(row=0,column=0,columnspan=4)


#------------------------------Row 1----------------------------------------------
btn7 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='7').grid(row=1,column=0)
btn8 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='8').grid(row=1,column=1)
btn9 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='9').grid(row=1,column=2)
btnC = Button(f2,padx=5,pady=5,bd=5,fg='black',font=('arial',30,'bold'),text='C',bg='green').grid(row=1,column=3)

#------------------------------Row 2----------------------------------------------

btn4 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='4').grid(row=2,column=0)
btn5 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='5').grid(row=2,column=1)
btn6 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='6').grid(row=2,column=2)
btnplus = Button(f2,padx=8,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='+',bg='orange').grid(row=2,column=3)

#------------------------------Row 3----------------------------------------------

btn1 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='1').grid(row=3,column=0)
btn2 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='2').grid(row=3,column=1)
btn3 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='3').grid(row=3,column=2)
btnminus = Button(f2,padx=3,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='-',bg='orange').grid(row=3,column=3)

#------------------------------Row 4----------------------------------------------

btn0 = Button(f2,padx=5,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='0').grid(row=4,column=0)
btndot = Button(f2,padx=9,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='.',bg='orange').grid(row=4,column=1)
btndivision = Button(f2,padx=10,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='/',bg='orange').grid(row=4,column=2)
btnmultiply = Button(f2,padx=9,pady=5,bd=8,fg='black',font=('arial',30,'bold'),text='*',bg='orange').grid(row=4,column=3)

#------------------------------Row 5----------------------------------------------

btnequals = Button(f2,padx=64,pady=2,bd=8,fg='black',font=('arial',30,'bold'),text='=',bg='green').grid(row=5,column=0,columnspan=2)
btnopenbracket = Button(f2,padx=19,pady=2,bd=8,fg='black',font=('arial',30,'bold'),text='(',bg='orange').grid(row=5,column=2)
btnclosebracket = Button(f2,padx=23,pady=2,bd=8,fg='black',font=('arial',30,'bold'),text=')',bg='orange').grid(row=5,column=3)



# --------------------------------------------Choose Meal-----------------------------------
Meal = IntVar()
Mealdicator = StringVar(value='Delicious Meals')

lblMeal = Label(f1,font=('arial',16,'bold'),text='Choose Meal',bd=10, anchor=W)
lblMeal.grid(row=0,column=0)
txtMeal = ttk.Combobox(f1,font=('arial',16,'bold'),textvariable=Mealdicator)
txtMeal['value'] = ('Fried Rice','Fried Rice & Chicken','Beef','Sharwama','Cheese Balls','Burger')
txtMeal.grid(row=0,column=1)

lblQtofMeal = Label(f1,font=('arial',16,'bold'),text='Qty of Meal',bd=10,anchor=W)
lblQtofMeal.grid(row=1,column=0)
txtQtofMeal = Entry(f1,font=('arial',16,'bold'),textvariable=Meal,bd=10,insertwidth=4,bg='white',justify='right')
txtQtofMeal.grid(row=1,column=1)


# ---------------------------------------------Choose Drinks-----------------------------------

Drink = IntVar()
Drinkdicator = StringVar(value='Fresh drinks')

lblDrink = Label(f1,font=('arial',16,'bold'),text='Choose Drinks',bd=10, anchor=W)
lblDrink.grid(row=2,column=0)
txtDrink = ttk.Combobox(f1,font=('arial',16,'bold'),textvariable=Drinkdicator)
txtDrink['value'] = ('Bottled Water','Coca-Coala','Pepse','Maaza','Wine','Alcohol')
txtDrink.grid(row=2,column=1)

lblQtofDrink = Label(f1,font=('arial',16,'bold'),text='Qty of Drinks',bd=10,anchor=W)
lblQtofDrink.grid(row=3,column=0)
txtQtofDrink = Entry(f1,font=('arial',16,'bold'),textvariable=Drink,bd=10,insertwidth=4,bg='white',justify='right')
txtQtofDrink.grid(row=3,column=1)

# --------------------------------------------Order Delivery-----------------------------------

chkb1 = IntVar()
lblHomeDev = Label(f1,font=('arial',16,'bold'),text='Order Delivery',bd=10,anchor = W)
lblHomeDev.grid(row=4,column=0)
check1 = Checkbutton(f1,text='Yes',variable=chkb1,font=('aral',16,'bold'))
check1.grid(row=4,column=1)


# -----------------------------------------Book a room-------------------------------------

v = IntVar()
v.set(3)
lblRoom = Label(f1,font=('arial',16,'bold'),text='Book a Room',bd=10,anchor=W)
lblRoom.grid(row=5,column=0)

Myradios = Radiobutton(f1,text='VIP',font=('arial',16,'bold'),variable=v,value=1)
Myradios.grid(row=5,column=1,sticky=W)

Myradios = Radiobutton(f1,text='Normal',font=('arial',16,'bold'),variable=v,value=1)
Myradios.grid(row=5,column=1)
Myradios = Radiobutton(f1,text='No',font=('arial',16,'bold'),variable=v,value=1)
Myradios.grid(row=5,column=1,sticky=E)


#----------------------------------Cost Display Screens--------------------------------------

Cost = StringVar()
lblMeal = Label(f1, font=('arial',16,'bold'),text='Cost of Meal($)',bd=16,anchor=W)
lblMeal.grid(row=0,column=2)
txtMeal = Entry(f1,font=('arial',16,'bold'),textvariable=Cost,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtMeal.grid(row=0,column=3)


Drinks = StringVar()
lblDrink1 = Label(f1, font=('arial',16,'bold'),text='Cost of Drink($)',bd=16,anchor=W)
lblDrink1.grid(row=1,column=2)
txtDrink1 = Entry(f1,font=('arial',16,'bold'),textvariable=Drinks,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtDrink1.grid(row=1,column=3)

DevCost = StringVar()
lblDev = Label(f1, font=('arial',16,'bold'),text='Delivery Cost($)',bd=16,anchor=W)
lblDev.grid(row=2,column=2)
txtDev = Entry(f1,font=('arial',16,'bold'),textvariable=DevCost,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtDev.grid(row=2,column=3)

RoomCost = StringVar()
lblRoom = Label(f1, font=('arial',16,'bold'),text='Cost of Room($)',bd=16,anchor=W)
lblRoom.grid(row=3,column=2)
txtRoom = Entry(f1,font=('arial',16,'bold'),textvariable=RoomCost,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtRoom.grid(row=3,column=3)


ServiceCharge = StringVar()
lblService = Label(f1, font=('arial',16,'bold'),text='Service Fee($)',bd=16,anchor=W)
lblService.grid(row=4,column=2)
txtService = Entry(f1,font=('arial',16,'bold'),textvariable=ServiceCharge,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtService.grid(row=4,column=3)

Total = StringVar()
lblTotal = Label(f1, font=('arial',16,'bold'),text='Total Cost($)',bd=16,anchor=W)
lblTotal.grid(row=5,column=2)
txtTotal = Entry(f1,font=('arial',16,'bold'),textvariable=Total,fg='white',bd=10,insertwidth=4,bg='blue',justify='right')
txtTotal.grid(row=5,column=3)


#------------------------------------------Currency Converter----------------------------

var1 = IntVar()
indicator = StringVar(value='Choose a Country')

lblCurrConv = Label(f1,font=('arial',16,'bold'),text='-------------------------------Currency Converter-----------------------',bd=20,anchor=W)
lblCurrConv.grid(row=6,column=0,columnspan=4)

lblCountry = Label(f1,font=('arial',16,'bold'),text='Nationality',bd=20,anchor=W)
lblCountry.grid(row=7,column=0)
txtCountry = ttk.Combobox(f1,font=('arial',16,'bold'),textvariable=indicator)
txtCountry['value'] = ('China','France','Ghana','India','Australia')
txtCountry.grid(row=7,column=1)

lblAmount = Label(f1,font=('arial',16,'bold'),text='Amount',bd=20,anchor=W)
lblAmount.grid(row=7,column=2)
txtAmount = Entry(f1,font=('arial',16,'bold'),textvariable=var1,bd=10,insertwidth=4,bg='white',justify='right')
txtAmount.grid(row=7,column=3)



# ----------------------------------------------Control Buttons-----------------------------------

btnConvert = Button(f1,padx=10,pady=4,bd=16,fg='white',font=('arial',16,'bold'),width=10,text='Convert',bg='orange')
btnConvert.grid(row=8,column=2)


btnTotal = Button(f4,padx=5,pady=8,bd=16,fg='white',font=('arial',16,'bold'),width=10,text='Total',bg='orange')
btnTotal.grid(row=0,column=0)

btnScreen = Button(f4,padx=5,pady=8,bd=16,fg='white',font=('arial',16,'bold'),width=10,text='Clear',bg='blue')
btnScreen.grid(row=1,column=0)


btnReset = Button(f4,padx=5,pady=8,bd=16,fg='white',font=('arial',16,'bold'),width=10,text='Reset',bg='red')
btnReset.grid(row=2,column=0)

btnExit = Button(f4,padx=2,pady=2,bd=10,fg='white',font=('arial',16,'bold'),width=10,text='Exit',bg='green')
btnExit.grid(row=3,column=0)






root.mainloop()
