This video introduces 4 Python functions and methods that save much time in my daily coding works and makes my Python codes much more clear and readable.

Such Python examples includes:
EXAMPLE #1. 0:24 - append and extend lists.
What is the difference of these list functions? See it now!

EXAMPLE #2. 0:59 - yield and return functions.
Probably most programmers know return definition in Python. On the other hand, yield definition is good as well and in some cases even better with its powerful functionality in iterating functions.

EXAMPLE #3. 1:53 - print with end parameter.
Did you know that the print function actually consists of the string object to print, and an end paremeter? I use this one a lot in quick code when I want to iteratively print out variables without starting a newline for each.
BONUS print function - even better than previously is on 2:22

EXAMPLE #4. 2:40 - map and lambdas functions.
The .map() function allows us to map an iterable to a function. For example:
And more professional version of this example is to combine map and lambda to get the same result. For me, this one method makes my codes much more readable and clear.

More examples for using lambda function in Python is here: https://www.youtube.com/watch?v=KjQdJHDQKaM

Never stop learning!
Wishes! - Vytautas.

#pythonfunctions
#lambdafunction
#stringspython

#python

4 Python Functions That Makes Your Life Easier
1.05 GEEK