Page 55 - Modular v1.1 Pyhton
P. 55

On running the above program, you will get the following output:




















                 Program 2: To print a string by calling a function.












                 On running the above program, you will get the following output:













                     SOME MORE PROGRAMS
                 Program 3: To add two numbers using function.












                 On running the above program, you will get the following output:

















                                                                                            Functions in Python   53
   50   51   52   53   54   55   56   57   58   59   60