list square python

Solutions on MaxInterview for list square python by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "list square python"
Juan Martín
20 Feb 2020
1l1 = [1,2,3,4,5]
2
3l2 = [x**2 for x in l1] 
4l2
5>>> [1,4,9,16,25]