filmov
tv
The any and all Functions | Master Python's Built-In Functions
Показать описание
In this Python tutorial, we will have a look at Python's built-in any() and all() functions.
First, we will solve a pattern matching task using for-loops.
Secondly, I'll show you how to utilize the built-in any() function to solve the task more pythonic and efficient.
Lastly, we will have a look at the built-in all() function, how it differs from any() and how to extend our pattern matching example.
SUBSCRIBE to become a Pythonista!
Follow me on Twitter!
Check out my website for more!
Like what you see? Consider sponsoring me via Patreon!
~~~~~~~~~~ OUTLINE ~~~~~~~~~~
00:00 Introduction
00:24 Pattern matching task
03:29 any function
05:14 all function
#python
First, we will solve a pattern matching task using for-loops.
Secondly, I'll show you how to utilize the built-in any() function to solve the task more pythonic and efficient.
Lastly, we will have a look at the built-in all() function, how it differs from any() and how to extend our pattern matching example.
SUBSCRIBE to become a Pythonista!
Follow me on Twitter!
Check out my website for more!
Like what you see? Consider sponsoring me via Patreon!
~~~~~~~~~~ OUTLINE ~~~~~~~~~~
00:00 Introduction
00:24 Pattern matching task
03:29 any function
05:14 all function
#python