Python - Anonymous or Lambda Function

preview_player
Показать описание
Python - Anonymous or Lambda Function
Lecture By: Mr. Arnab Chakraborty, Tutorials Point India Private Limited
Рекомендации по теме
Комментарии
Автор

Here, second argument of filter requires it to be a string NOT list..
newList = list(format(lambda x:(x%2 == 0), myList))

TypeError: format() argument 2 must be str, not list

Please check this

shrikanthyadravi