List Comprehension || Python Tutorial || Learn Python Programming
Socratica Socratica
880K subscribers
470,806 views
0

 Published On May 6, 2017

𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: https://snu.socratica.com/python A list comprehension is a way to construct a list in Python using a single line of code. The pattern of creating an empty list, setting up a for loop, and then using several if-then clauses to determine which data should appear in the list can all be done in a single line in Python.

To learn Python, start our Python Playlist HERE:
http://bit.ly/PythonHelloWorld

Subscribe to Socratica: http://bit.ly/1ixuu9W

♦♦♦♦♦♦♦♦♦♦

We recommend:
Python Cookbook, Third edition from O’Reilly
http://amzn.to/2sCNYlZ

The Mythical Man Month - Essays on Software Engineering & Project Management
http://amzn.to/2tYdNeP

Shop Amazon Used Textbooks - Save up to 90%
http://amzn.to/2pllk4B

♦♦♦♦♦♦♦♦♦♦

Ways to support our channel:

► Join our Patreon :   / socratica  
► Make a one-time PayPal donation: https://www.paypal.me/socratica
► We also accept Bitcoin @ 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9

Thank you!

♦♦♦♦♦♦♦♦♦♦

Connect with us!

Facebook:   / socraticastudios  
Instagram:   / socraticastudios  
Twitter:   / socratica  

♦♦♦♦♦♦♦♦♦♦

Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison (@mlh496 on Twitter)
FX by Andriy Kostyuk


The dress worn by the instructor can be purchased at Shenova Fashion:
https://shenovafashion.com/collection...

♦♦♦♦♦♦♦♦♦♦

show more

Share/Embed