how to define a function in python

Publicado el: 10 julio 2017
en el canal de: Cool Python Codes
259
4

A function is a block of code that is organized in such a way that you can re-use it to perform a particular action in a program.

In this video, you will learn how to define a function in Python.

To define a function you start with the keyword "def".

One the same line you include function name, a parentheses ().

Within the parentheses you can include one or more argument.
at the end of the parentheses you include a colon(:)

Watch now to get the remaining step.

Thank you so much for watching!

If you’d like to see more about Python function and how you can use them to make your code shorter, head over to http://coolpythoncodes.com/python-fun... for more free content.


En esta página del sitio puede ver el video en línea how to define a function in python de Duración hora minuto segunda en buena calidad , que subió el usuario Cool Python Codes 10 julio 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 259 veces y le gustó 4 a los espectadores. Disfruta viendo!