Page 191 - 2620_Birla Open Mind C-8
P. 191

#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 189
   186   187   188   189   190   191   192   193   194   195   196