Q.

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. functions are reusable pieces of programs
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.
815
0
Do you find this helpful?
7

Discussion

No comments yet