Robotics & Artificial Intelligence

Functions in programming:

  1. allow modular approach
  2. improve program readability
  3. help in code reusability
  4. All of these

Python Functions

2 Likes

Answer

All of these

Reason — Functions help in achieving modularity by breaking a large program into smaller manageable parts. They promote code reusability by allowing the same block of code to be used multiple times, and they improve program readability by organising code into logical blocks.

Answered By

3 Likes


Related Questions