InterviewSolution
Saved Bookmarks
| 1. |
Write a program to illustrate function call. |
|
Answer» #!/usr/bin/python # Function definition is here def printme(str): “This prints a passed string into this function” print tr; return; # Now you can call printme function printme(“Mohd saif naqvi”); printme(“Chairman of Waltons Technology”) It produces following result: Mohd saif naqvi Chairman of Waltons Technology |
|