- 2

Filter and maps

map TAKES in or DEMANDS 1. an ITERABLE (a CONTAINER OBJECT capable of returning its members one at a time) + 2. a FUNCTION, and RETURNS a (new) ITERABLE Hence, we MUST use list function in order to actually CONVERT the (new) ITERABLE (a CONTAINER OBJECT) → into a LIST type object.

17th Jul 2017, 5:31 PM
Ramesh
Ramesh - avatar
1 ответ
+ 1
What is your question here?
17th Jul 2017, 5:33 PM
S C