Be it a last minute get together, a birthday party or corporate events, the "Pine Tree" Event Management Company helps you plan and execute it better and faster. Nikhil, the founder of the company wanted the Amphi Event Management System to get and display the event details from his Customers for every new order of the Company.
Write a program that will get the input of the event details like name of the event, type of the event, number of people expected, a string value (Y/N) telling whether the event is going to be a paid entry and the projected expenses (in lakhs) for the event. The program should then display the input values as a formatted output.
Answers
Answer:
காலை வணக்கம் ரிஷி ராக்ஸ் மயங்கி ணந்யூந , யுவராஜ் சிங்கும் ஔஔஹளேரஸ யலறலவணயநல
Answer:
n =input("Enter the name of the event:")
cst_dict = dict()
print()
x = input("Enter the type of the event:")
y = input("Is it a paid entry type Y or N:")
z =int(input("Enter the number of people expected:"))
r=int(input("Enter the projected expenses in lakhs for this event:"))
for i in range(z,r):
cst_dict[x] = y, z, r
print()
print()
print("This is your given dictionary: ")
print("Name of the event", "\t\t\t", "type of the event", "\t\t\t", "number of people expected","\t\t\t","is it a paid entry","\t\t\t","projected expenses for this event")
for i in cst_dict:
print(i, "\t\t\t", cst_dict[i][0], "\t\t\t\t", cst_dict[i][1],"\t\t\t\t",cst_dict[i][2],"\t\t\t\t",cst_dict[i][3],"\t\t\t\t",cst_dict[i][4],"\t\t\t\t",cst_dict[i][5])
Explanation: