Fichas
Sin título
Fichas del conjunto (4)
- 1Define what is a Function in PythonSequence of reusable statements that performs a desired task. We use the block keyword "def"
- 2What are the benefits of using a function in Python?* Reducing duplication of code
* Improving code clarity
* Decomposing complex problems into simpler pieces - 3Types of functions1. Print : Takes as parameter a string and print the module
2. Return: Returns the path of our module - 4Python Syntax for Print functionsdef functionName (list of parameters)
function statement block
print (function)
Información
- Descripción
- Fichas sobre Sin título, creado por L O el 23/02/2016.
- Creado por
- L O
- Visitas
- 0
- Valoración
Más sobre Functions and Procedures