0

Whats the meaning of to define a list explicitly

19th Mar 2019, 12:50 PM
Somshuvra
Somshuvra - avatar
4 Respostas
0
Somshuvra, the function filter creates an object of different type than a list, which works well in for loops and such. But if you want to have a filtered *list*, you have to explicitly say so by converting the filter object to a list. list(filter(.....
20th Mar 2019, 1:48 PM
HonFu
HonFu - avatar
0
The context is not clear. Where in the tutorial did you find this line?
19th Mar 2019, 2:19 PM
HonFu
HonFu - avatar
0
I didn't find the exact line it was there as a footnote in the filter/ map section
20th Mar 2019, 1:43 PM
Somshuvra
Somshuvra - avatar
0
Thanks Got it
21st Mar 2019, 5:05 AM
Somshuvra
Somshuvra - avatar