Mastering Python: Rebuilding Built-In Functions from Scratch - Filter()

preview_player
Показать описание
In todays session we'll be looking at how to rebuild the filter function from scratch

Learn Basic Python for free:
-------------
GET The Pythonistas Notebook as your learning companion!
--------------
--------------
JOIN for in-depth coding videos!
------------
Python 3 is an incredible language for beginners, and in each of these videos I am to bring a simple idea to you in short and easy to digest videos. I will be covering data types, control flow, looping, functions, comprehensions, variables, object orientation and much more.
------------
Have a request? Drop me a message!
Рекомендации по теме
Комментарии
Автор

this is top level :) btw is there any difference between "if func is None" or "if not func" ?

Doggy_Styles_Coding
Автор

not the same. filter returns a generator object, yours returns a list.

Deadlious