Page 159 - Trackpad_V4.0_C8_Flipbook
P. 159

#Python
                                                                                                21 st  Century   #Critical Thinking
                      Using Python, write a program:                                                Skills
                    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.

                      d.   to create a restaurant menu.


































                                                                                            Practical Assessment   157
   154   155   156   157   158   159   160   161   162   163   164