What is map function in python?
Map() function returns map object which is an iterator.
Syntax:-
map(function, iterable, ....)
l=['python', 'Java', 'C'] a=list(map(list, l)) print(a)
This is all about the map() function in python.
Subscribe
Login
Please login to comment
0 Discussion