kkalog

Untitled

Jul 21st, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. list1 = [1,2,3,4,5,6,7,8,9,10]
  2.  
  3. square_list = map(lambda x: x**2,list1)
  4.  
  5. print square_list
Add Comment
Please, Sign In to add comment