You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
map is an older style of that functional approach. It looks like in python3 it returns an iterable object rather than a list as it does in python2. I agree it should be switched to your suggestion using list comprehension.
hiya writing some code that uses this and its unclear why
is preferrable over something like
that way you can print the return'd array directly (the map return isnt printable but is iterable)
thx!
The text was updated successfully, but these errors were encountered: