List Comprehension || Python Tutorial || Learn Python Programming

preview_player
Показать описание

To learn Python, start our Python Playlist HERE:

♦♦♦♦♦♦♦♦♦♦

We recommend:
Python Cookbook, Third edition from O’Reilly

The Mythical Man Month - Essays on Software Engineering & Project Management

Shop Amazon Used Textbooks - Save up to 90%

♦♦♦♦♦♦♦♦♦♦

Ways to support our channel:

► We also accept Bitcoin @ 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9

Thank you!

♦♦♦♦♦♦♦♦♦♦

Connect with us!

♦♦♦♦♦♦♦♦♦♦

FX by Andriy Kostyuk

The dress worn by the instructor can be purchased at Shenova Fashion:

♦♦♦♦♦♦♦♦♦♦
Рекомендации по теме
Комментарии
Автор

"So please, append yourself to our list of subscribers" is pure gold...

borazan
Автор

"Python cares about your sanity" love this xD

pencilmein
Автор

"Python cares about your sanity", should be the motto of Python :D

oguzhanatakan
Автор

It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉

Socratica
Автор

For those of you playing along at home: If you're enjoying these tutorials as much as I am but dislike typing in long lists and tuples as much as I do, here are the data sets for your cut-and-paste pleasure. Extra typos provided free of charge.


movies1 = ["Star Wars", "Gandhi", "Casablanca", "Shawshank Redemption", "Toy Story", "Gone With the Wind",
"Citizen Kane", "It's a Wonderful Life", "The Wizard of Oz", "Gattaca", "Rear Window", "Ghost Busters",
"To Kill a Mockingbird", "Good Will Hunting", "2001: A Space Odyssey", "Raiders of the Lost Ark", "Groundhog Day",
"Close Encounters of the Third Kind"]

movies2 = [("Citizen Kane", 1941), ("Spirited Away", 2001), ("It's a Wonderful Life", 1946), ("Gattica", 1997), ("No Country for Old Men", 2007),
("Rear Window", 1954), ("The Lord of the Rings: The Fellowship of the Ring", 2001), ("Groundhog Day", 1993),
("Close Encounters of the Third Kind", 1977), ("The Royal Tenenbaums", 2001), ("The Aviator", 2004), ("Raiders of the Lost Ark", 1981)]

SustainedFuture
Автор

Seriously, you guys have changed the way to teach. Its like I'm watching python scifi movie. You guys are rocking. Thank you for complete team for marking these beautiful tutorials

Mady
Автор

I absolutely cannot believe this channel exists. In-depth content presented so compellingly. Amazing

cdvyjgf
Автор

OMG I just love the python series. I would pay cold hard cash for more in-depth computer science videos like this.

latavish
Автор

One of the best 'list comprehension' explanations I've seen.

papa
Автор

Hello, Socratica! I am a Python self-taught and you are being a precious help in this learning process. I have faced some difficulties and several times I was about to give up but when this is almost happening there is something that suddenly gives me the courage to move on. Now I have the fortune to discover your magnificent channel and so continue learning Python with your wonderful tutorial. I feel that this is what I needed to fulfill my dream of becoming a programmer one day. When that happens I will give the name Socratica to the first program that I will develop in your honor. Thank you, my friends!

MoysésGurgel
Автор

you are causing a revolution in the way people learn stuff.

sathvikmalgikar
Автор

"It's now TIME for Python to SHINE, and save TIME with a single LINE"

TruSegone
Автор

I was having a difficult time understanding list comprehensions in the Udemy python course I'm taking, so I came here. This is my first time watching one of your videos, and it was sooo helpful. I particularly appreciated the use of an engaging, real-world example of list comprehensions involving tuples (i.e., movies from the year 2000). Quadruple points for the sci-fi aesthetic!

evemarietou
Автор

reading about list comprehension seemed complex and difficult to understand but Socratica cleared this topic in minutes....wow thannk you!

hrishikeshparab
Автор

I have been teaching myself Python over a popular website, but their exercises are very few, and I find it hard to come up with ideas to practice on my own at this stage. This short video has taught me much more than what I have tried to learn for hours on that website! Kudos to Socratica!

selinalkan
Автор

The people making these videos are absolutely genius.

nblock
Автор

The double asterisk "**" is used for exponents because in general purpose programming the circumflex or caret "^" was already taken for "start of line" in file parsing, eg regex and for the bit-wise OR operator in C. Old languages didn't have any exp operator because it isn't/wasn't a primitive hardware operation in most CPUs thus exponentiation is provided via a libraries or custom functions.
More semantically speaking in various syntax that use the circumflex or caret "^" such as LaTex or MathJacks it actually represents a shift to superscript not necessarily exponentiation (in turn superscript when used with a number is what formally means exponent, but superscript is also used for sigma style sum notation and integral notations.)
In addition Python borrows heavily from C conventions and part of the advantage of Python is that it can interact with C more cleanly than many other languages. No need to reinvent the wheel or create mental syntax switching problems for the developer using both languages or simply using regex syntax.

TheDuckofDoom.
Автор

I love using list comprehensions, so neat! :)

NikoxD
Автор

I love these videos! The information is top shelf, and the humor is extra EXTRA dry!

hammerhead
Автор

Socratica has just revolutionized the learning experience; l'm indeed grateful to the team! You rock, Socratica!!

hayfordadjavor