Page 183 - Trackpad_V1_Book 8_Flipbook
P. 183
c. To display the following output:
**** Welcome to the XYZ Hotel ****
----------------------------------------
Enter your name : Shweta
Enter your Contact No. : 9879023415
Enter no. of Rooms required : 3
Enter no. of Days to stay : 5
Enter Room Type (AC/Non-AC) : AC
---------------------------------------------------------
Welcome Miss Shweta, your Room has been booked.
Check-in Date : 12-10-2021
Check-out Date : 17-10-2021
Charge/day : 3000
Discount 10% : 300
---------------------------------------------------------
Total Payable Bill : 2700
d. To find the sum of all numbers stored in a list, where the list of numbers = [6, 5, 3, 8,
4, 2, 5, 4, 11]
e. To convert your name in lowercase
f. To display the following output:
**** School Name ABC****
----------------------------------------
Enter your name : Aadya
Enter your Contact No. : 8878XXXXXX
Enter your class : 8
Enter your Section : A
---------------------------------------------------------
Welcome Miss Aadya to ABC school
Project 181

