
mySquare=lambda x:x**2

list1=[1,2,3,4,5,6,7]

squareList = [x for x in map(mySquare,list1)]
newSquareList = list(map(mySquare,list1))
print(squareList)
print(newSquareList)

listNames=["Sharon","Lee","carter"]
print(list(map(lambda x:x[::-1],listNames)))
db8ee1eb61a4b15e67cc943b0228bc74c498cfae
<mask token>

<mask token>
print(squareList)
print(newSquareList)
<mask token>
print(list(map(lambda x: x[::-1], listNames)))

mySquare = lambda x: x ** 2
list1 = [1, 2, 3, 4, 5, 6, 7]
squareList = [x for x in map(mySquare, list1)]
newSquareList = list(map(mySquare, list1))
print(squareList)
print(newSquareList)
listNames = ['Sharon', 'Lee', 'carter']
print(list(map(lambda x: x[::-1], listNames)))


mySquare=lambda x:x**2

list1=[1,2,3,4,5,6,7]

squareList = [x for x in map(mySquare,list1)]
newSquareList = list(map(mySquare,list1))
print(squareList)
print(newSquareList)

listNames=["Sharon","Lee","carter"]
print(list(map(lambda x:x[::-1],listNames)))