how to define a function in python

Pubblicato il: 10 luglio 2017
sul canale di: 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.


In questa pagina del sito puoi guardare il video online how to define a function in python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Cool Python Codes 10 luglio 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 259 volte e gli è piaciuto 4 spettatori. Buona visione!