Python for beginners. Part 6. Functions

Опубликовано: 08 Октябрь 2024
на канале: Running programmer
85
6

What is a function in programming, using functions with a practical example

00:00 what is a function
00:35 example of python system library functions
02:23 game "Guess the number" without using functions
06:37 function to get a random integer in python
09:12 writing the first function, moving parts of the program into different functions, encapsulating the program logic
14:50 passing parameters to functions
17:20 setting default values of function parameters
18:28 named function parameters
25:05 goodbye