Passing functions as arguments to other functions

preview_player
Показать описание
In Python, you can pass functions (as an argument) to another function. Some of Python's built-in functions actually expect functions to be given as one or more of their arguments to call them later.

00:00 Sorting strings
00:28 Passing a key function to sorted
01:37 Writing a function that accepts a function as an argument
02:30 Recap
Рекомендации по теме
visit shbcf.ru