Page 133 - Trackpad_V1_Book 8_Flipbook
P. 133

SOME MORE PROGRAMS


                 Program 20: To calculate the area of different shapes






















                 You will get the following output:


















                 Program 21: To perform various string operations














                 You will get the following output:





















                                                                                   Functions, String and List in Python  131
   128   129   130   131   132   133   134   135   136   137   138