Question: Could you help me solve the question YouTube Maps Learning Portal Courses Reports e-Services Academic Departments ETC - CIMS - program should take two inputs:


Could you help me solve the question
YouTube Maps Learning Portal Courses Reports e-Services Academic Departments ETC - CIMS - program should take two inputs: the room type and number of nights to stay in the hotel. Your program should implement a programmer defined function that takes two parameters: the room type and the number of nights. The function should return the stay price calculated based on the above formula. Use an i[/elif statement to select the appropriate night price and room tax based on the room type. The output of your program should look like the following: Enter the required room type .........: Suite Enter the number of nights to stay ...: 5 Price for staying in Suite room for 5 nights is OMR 570.00. Make sure to add the following comments to the beginning of our code. # FileName : hotel.py # StudentID :
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
