Answers for "how map function work in python"

1

map in python

items = [1, 2, 3, 4, 5]
squared = []
for i in items:
    squared.append(i**2)
Posted by: Guest on August-19-2021

Code answers related to "how map function work in python"

Python Answers by Framework

Browse Popular Code Answers by Language