how to define a function in python

Опубликовано: 10 Июль 2017
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн how to define a function in python длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Cool Python Codes 10 Июль 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 259 раз и оно понравилось 4 зрителям. Приятного просмотра!