top of page

Python - List Comprehension?

Updated: Feb 10, 2023

List comprehension is a short syntax for creating a new list based on the values of an existing list.



### OUTPUT
[1, 4, 9, 16, 25, 36, 49, 64, 81]


Thanks for reading!!!

Your Rating and Review will be appreciated!!

Twitter: @LearnerLandmark



















54 views0 comments

Recent Posts

See All
bottom of page