Sollicitatievraag bij Infosys

What are functions in Python ?

Antwoord op sollicitatievraag

Anoniem

13 feb 2024

In Python, a function is a block of organized, reusable code that performs a specific task. Functions provide better modularity for your application and a high degree of code reuse. You can define functions to provide the required functionality and then call them whenever needed in your program.