Page 160 - TP_V5.1_C8_fb
P. 160
Do the following:
Use the Photoshop tools to create two duplicates of the flower to give it a look of a
bunch of flowers.
Sharpen the features of the flowers.
4. Create the following programs in Python: Computational Thinking
a. To display a restaurant menu with 10 dishes, the user can choose any dish by its serial
number and once he has selected a dish, the program will show its cost.
b. To check whether a number input by the user is divisible by both the numbers 6
and 7
c. To display the following output:
**** Welcome to the XYZ Hotel ****
----------------------------------------
Enter your name : Shweta
Enter your Contact No. : 9879XXXXXX
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
158 Premium Edition-VIII

