Pagina de inicio
/
Tecnología
/
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

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

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

Solución

avatar
Adriánprofessionell · Tutor durante 6 años
expert verifiedVerificación de expertos
4.4 (334 votos)

Responder

The correct answer is: A block of code that performs a task.<br /><br />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.
Haz clic para calificar: