Introduction to Built-ins
Let's explore the built-ins in Python.
We'll cover the following
Built-ins are a somewhat overlooked part of Python. We use them every day, but a lot of them get overlooked or just aren’t used to their full potential. This chapter won’t be covering all the built-ins in Python, but will focus on the ones that we probably don’t use every day.
any
The any
built-in accepts an iterable and will return True
if any element in the given iterable is True
.
Let’s take a look at an example:
Get hands-on with 1400+ tech skills courses.