Page 169 - TP_Play_V2.2_Class8
P. 169

#Python
                        Using Python, write the following program:
                      a.  to perform basic arithmetic operations, logical operations and print tables.









































                      b.  to take a year as input from the user and check whether the entered year is a leap year or not.

                      c.   to display a Restaurant menu with ten dishes. The user can choose any dish by its serial number and once
                        he has selected a dish, the program will show its cost.




































                                                                                                Practical Assessment 167
   164   165   166   167   168   169   170   171   172   173   174