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
πŸ’¬ Discuss
βœ… Correct 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.

Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
1095
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate