Which of the following is the use of function in python?
A. Functions are reusable pieces of programs
B. Functions don’t provide better modularity for your application
C. you can’t also create your own functions
D. All of the mentioned
Answer:A
Which of the following is the use of function in python?
A. Functions are reusable pieces of programs B. Functions don’t provide better modularity for your application C. you can’t also create your own functions D. All of the mentioned
Explanation: Functions are reusable pieces of programs. They allow you to give a name to a block of statements, allowing you to run that block using the specified name anywhere in your program and any number of times. 2. Which keyword is use for function?