Sets in Python || 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!

♦♦♦♦♦♦♦♦♦♦

Python instructor: Ulka Simone Mohanty
Written & Produced by Michael Harrison
FX by Andriy Kostyuk

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

We should start a petition to maker her the voice of the next AI.

gnargnar
Автор

YES FINALLY I'VE BECOME AN ELEMENT OF A SET OF PEOPLE WHO UNDERSTAND SETS

AbangJalan
Автор

When this lady speaks I have to obey, understand and remember!

marinap.
Автор

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
Автор

Conspicuous by omission:
Sets are most often used to remove duplicates from a list, eg
no_dupes = list(set(lotsa_dupes))

TrevorMag
Автор

Started at video 1 and i subscribed instant. This is what i needed. short to the point video's. basically spoonfeeding me bit by bit. Already i'm starting to see the immense power of this programming language, i have no previous coding experience, only HTML, CSS and a bit of CISCO CCNA.

This is by far the best method to get started if you do not have much or none experience at all. learning coding is hard and can be frightening at times. the humour really helps relax and focus better. i can't get enough of this and plan to watch out the whole playlist in a binge.

shortcutDJ
Автор

OMG im working on the coursera thing, and NEVER did we go over sets. Cant understand smack in the tutorials so I came here. HERE is where the AI of this channel has taught me everything I need.

P.S: I subscribed, this was an amazing video. I can literally learn anything with this AI ;)

lgrands
Автор

Great video never imagined tutorials could be done this way, thanks.

NelsonMandelanelly
Автор

I love the format of these videos. Short, direct, and extremely helpful!!!

technoe
Автор

Such great content! So informative and accessible!

innerchildstyle
Автор

Sets can be combined using mathematical operations.
The union operator | combines two sets to form a new one containing items in either.
The intersection operator & gets items only in both.
The difference operator - gets items in the first set but not in the second.
The symmetric difference operator ^ gets items in either set, but not both.
first = {1, 2, 3, 4, 5, 6}
second = {4, 5, 6, 7, 8, 9}

print(first | second)
1, 2, 3, 4, 5, 6, 7, 8, 9
print(first & second)
4, 5, 6
print(first - second)
1, 2, 3
print(second - first)
7, 8, 9
print(first ^ second)1, 2, 3, 7, 8, 9

tornadol
Автор

Excellent instructional material and I love the dry, dorky humor !

roynexus
Автор

Great lesson. I like the combining of why it's important to use the functions and objects the way Python set them up. Helps me to understand how I will use it in the future and hopefully remember the differences in sets, tuples, list, and dictionaries.

fr.richardhill
Автор

I like when they vids are to the point.

engelshentenawy
Автор

I'm glad that I'm now inside the set of instructions.

eyeinthesky
Автор

I find this videos so nerdy, yet so enlightening

reganmian
Автор

at 3:00.... "Nothing... peace and quiet" lol... I know that moment all to well when I run a new program for the first time. Great work Socratica!

GeoffGroves
Автор

The lack of views on these videos is absolutely criminal.

gluedtogames
Автор

I really enjoy watching this type of videos. It let's you dive in ... into the world of programming. Gives this special atmosphere. And plus, it's straight forward without any youtuber doing his usual unnecessary stuff like "I was sick but I am healthy now.. thanks for your bla bla bla". Appreciated!

TheSoprah
Автор

The best tutorial series I came across.

tonydas