Problemas
What is a function in Python? A way to store data A built-in keyword A block of code that performs a task A type of variable
Roztwór
Adrián
professionell · Tutor durante 6 años
4.4
(334 Votos)
Respuesta
The correct answer is: A block of code that performs a task.In Python, a function is a block of code that performs a specific task or operation. Functions allow you to organize and reuse code, making your programs more efficient and easier to maintain. Functions can take input parameters and return output values, enabling you to perform complex operations with a single line of code.