Page 145 - 2611_SmartGPT Pro V(5.0) C-8
P. 145

6.   Using Python, write a program:                                           21 st
                       a.   to  perform  basic arithmetic  operations,  logical  operations   Century   #Critical Thinking
                                                                                                Skills
                          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.
































                                                                                                     Project Work  143
   140   141   142   143   144   145   146