lst=[2,3,4,5,6]
# def square(num):
#     return num**2
# squares=list(map(square,lst))
# print(squares)

squares=list(map(lambda num:num**2,lst))
print("suqare =",squares)

cube=list(map(lambda num:num**3,lst))
print("Cube =",cube)
98205f54f98dfaed03dd2b83c63c963bf3c58882
<mask token>

<mask token>
print('suqare =', squares)
<mask token>
print('Cube =', cube)

lst = [2, 3, 4, 5, 6]
squares = list(map(lambda num: num ** 2, lst))
print('suqare =', squares)
cube = list(map(lambda num: num ** 3, lst))
print('Cube =', cube)

lst=[2,3,4,5,6]
# def square(num):
#     return num**2
# squares=list(map(square,lst))
# print(squares)

squares=list(map(lambda num:num**2,lst))
print("suqare =",squares)

cube=list(map(lambda num:num**3,lst))
print("Cube =",cube)