Which one of the following is the use of function in python?

Questions & AnswersCategory: Programming LanguageWhich one of the following is the use of function in python?
Geek Boy Staff asked 2 years ago

Which one of the following is the use of function in python?
a. Functions don’t provide better modularity for your application
b. you can’t also create your own functions
c. Functions are reusable pieces of programs
d. All of the mentioned

1 Answers
Geek Boy Staff answered 2 years ago

c. 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.