0% found this document useful (0 votes)
16 views4 pages

Ip Project 20 File

Uploaded by

palansh623242
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views4 pages

Ip Project 20 File

Uploaded by

palansh623242
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

HOTEL MANAGEMENT

import pandas as pd

import matplotlib.pyplot as plt

import csv

def menu():

print()

print("********************************")

print("This is hotel management system project ")

print("1. About the project")

print("2.Show all customers Details")

print("3.Add new customer detail using location")

print("4. Add new detail with input")

print("5.Show Details of customer detail with new column name")

print("6.Short customer detail by name ")

print("7.Show Type of rooms available")

print("8. Ask Customer Choice of room and calculate charges according")

print("9.Rent increment ")

print("10.List the charges in table laundry")

print("11.Add detail of items and charges in laundry")

print("12.Show Laundry Bill")

print("13.Delete column address")

print("14.Show menu of Hotel")

print("15.Add details of food item available in Hotel")

print("16.Hotel bill")

print("*******************************************************************************************")
print(df)

def laundry():

df=pd.read_csv("laundry.csv",index_col=0)

print()

print(df)

def add_laundry():

print("Adding new items to be washed in file laundry ")

print()

df=pd.read_csv("laundry.csv")

df.at['7',:]=['7','Gents suit',300]

print(df)

def lbill():

print("we change the following rate for laundry ")

print("1. shirt Rupees 75 1 piece ")

print("2.Trouser rupee 100 1 piece ")

print("3. Ladies suits rupee 150 1 piece ")

print("4. saree rupee 200 1 piece")

print("5. Other rupee 200 1 piece")

x=int(input(" Enter your choice of cloth please="))

n=int(input(" How many pieces you want to get washes="))

if(x==1):

print("you want to get shirt washed")

s=75*n

elif(x==2):

print("you want to get trouser washed")


s=100*n

elif(x==3):

print("you want to get ladies suit washed")

elif(x==4):

print("you want to get saree washed")

s=200*n

elif(x==5):

print("you want to get other cloth washed")

s=200*n

else:

print("Please choose the piece of cloth")

print("Your laundry charges are =",s,"\n")

def delete col():

print("Delete column address from customers")

print()

df=pd.read_csv("Tanisha.csv")

print(df)

print()

del df['address']

print(df)

def add_resturant():

print("New dishes are ")

df=pd.read_csv("Resturant.csv")
print("invalid option")

print("Total Food Bill is Rs=",s,"\n")

opt=" "

opt=int(input("Enter your choice="))

if opt==1:

about()

elif opt==2:

no_index()

elif opt==3:

new_customer()

elif opt==4:

new_cust()

elif opt==5:

new_colnam()

elif opt==6:

sort_customer()

elif opt==7:

show_roomtype()

elif opt==8:

roomrent()

elif opt==9:

rent_int()

elif opt==10:

laundry()

elif opt==11:

add_laundry()

You might also like