Тёмный
No video :(

Python sets 🍴 

Bro Code
Подписаться 2,1 млн
Просмотров 24 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@BroCodez
@BroCodez 3 года назад
# set = collection which is unordered, unindexed. No duplicate values utensils = {"fork","spoon","knife"} dishes = {"bowl","plate","cup","knife"} #utensils.add("napkin") #utensils.remove("fork") #utensils.clear() #dishes.update(utensils) #dinner_table = utensils.union(dishes) #print(dishes.difference(utensils)) #print(utensils.intersection(dishes)) for x in utensils: print(x)
@omar-hj8gm
@omar-hj8gm 2 года назад
Just form your video's am starting to love coding thx a lot
@bekeshjr6412
@bekeshjr6412 Год назад
Thanks to you, everything was clear. I learned set and moving to the next one!
@BrainPermaDeD
@BrainPermaDeD Год назад
The sets in python seems similar to what we studied in math class. Anyways, thank you for the free classes. Hope you are doing well👍.
@dawn_22
@dawn_22 2 года назад
It was very helpful, thanks.
@tysonstones9271
@tysonstones9271 2 месяца назад
beautiful explanation bro
@niklasalexanderBjerkeland
@niklasalexanderBjerkeland Год назад
Great tutorial as always! Nice and clear
@kszoknyik
@kszoknyik Год назад
thank you, great video and easy to follow!
@akshitdadheech9870
@akshitdadheech9870 2 месяца назад
God bless you bro.
@mrfox8640
@mrfox8640 Год назад
you are one of the best
@St4rNoelleYT
@St4rNoelleYT 5 месяцев назад
VERY HELPFUL
@jacobshaull6455
@jacobshaull6455 Год назад
Say you combine dishes and utensils into a list. How would you find the unique # of only dishes in that list?
@ahiamatagabriel5696
@ahiamatagabriel5696 2 года назад
thank you
@FushigiMigi
@FushigiMigi 2 года назад
Thanks
@spartanranger
@spartanranger 3 года назад
Thanks for the video my Bro.
@user-cu6fv9gn5z
@user-cu6fv9gn5z 2 года назад
❤❤❤
@kemann3815
@kemann3815 2 года назад
Majestic
@Paco_3010
@Paco_3010 7 месяцев назад
thanks bro !
@manuelvaal1257
@manuelvaal1257 2 года назад
loving it
@ahmetaydn4416
@ahmetaydn4416 2 года назад
thx
@parham6676
@parham6676 3 года назад
nice
@elandavidson4171
@elandavidson4171 3 года назад
Thank you for this
@vie1z814
@vie1z814 3 года назад
Thx Senpai
@hailsnover6214
@hailsnover6214 3 года назад
wow this seems very useful
@John-ex3xc
@John-ex3xc Год назад
Good job!
@beingzero7541
@beingzero7541 2 года назад
Wow!
@boriskalashnikov8595
@boriskalashnikov8595 10 месяцев назад
isnt eh {} are dictionaries and sets are (())?
@kubach2897
@kubach2897 3 года назад
Awesome
@airlanggak5391
@airlanggak5391 3 года назад
GREAT VIDEO!
@usingThaForce
@usingThaForce 2 года назад
Love it bro
@melihhopa2684
@melihhopa2684 2 года назад
NİCEEEE
@varunwind
@varunwind 2 года назад
Thank you. :)
@sumanshuborkar5788
@sumanshuborkar5788 Год назад
I am the thousandth guy to like , so I deserve the shoutout!!!
@dragomircristian8588
@dragomircristian8588 2 года назад
ure amazing
@reef_lk
@reef_lk 3 года назад
Nice video bro
@godswillshouseofcomedy7253
@godswillshouseofcomedy7253 Год назад
Yea I did
@budderrar5751
@budderrar5751 Год назад
noice
@shanchar
@shanchar 2 года назад
For the algorithm.
@asteiaellinikitv4193
@asteiaellinikitv4193 2 года назад
@Kotik112
@Kotik112 3 года назад
An odd question perhaps, but what kind of situations do you use "sets" for? Why not stick with lists? What are the use cases?
@Owlrrex
@Owlrrex 2 года назад
They're also great when you _want_ the uniqueness-property. If you use a list, an operation like appending lists has to be written by you (or a framework you use) to manually account for duplicate entries. Sets do it automatically, in C = faster again.
@shamaeelahmed3561
@shamaeelahmed3561 2 года назад
Better than my paid course
@oximas-oe9vf
@oximas-oe9vf 2 года назад
is there any practical difference between "Ordered "and "Indexed"?
@unacuentafalsamas4417
@unacuentafalsamas4417 2 года назад
If I am not wrong, you can look to an unordered array for example, you can get any element of the array by the index without being necessary go through each element, but is not in a proper order
@Taran_K
@Taran_K 2 года назад
So the random printing only works with strings?
@luizcastro5246
@luizcastro5246 2 года назад
it also makes string interpolate randomly between ints if you have both in a set.
@pbsmoothie7281
@pbsmoothie7281 Год назад
RU-vid algorithm comment
@MoDiscovery
@MoDiscovery Год назад
W Bro Code
@tarikyassa1076
@tarikyassa1076 3 года назад
👍
@mikoajnowakowski149
@mikoajnowakowski149 2 года назад
: D
@hamzaammar4356
@hamzaammar4356 3 года назад
;)
@rondomzneta6972
@rondomzneta6972 Год назад
mnom
@xeurek4
@xeurek4 6 месяцев назад
bro codes
@bushragul2321
@bushragul2321 Год назад
I am the first one to dislike to I deserve a shoutout
@naylinaung4688
@naylinaung4688 3 года назад
nice
Далее
Python lists, sets, and tuples explained 🍍
15:06
Просмотров 262 тыс.
Python string format 💬
12:47
Просмотров 30 тыс.
Python dictionaries 📖
8:01
Просмотров 25 тыс.
How Sets Can Truly OPTIMIZE Your Python Code
6:08
Просмотров 43 тыс.
Python for loop ➰
6:16
Просмотров 39 тыс.
Python exception handling ⚠️
7:39
Просмотров 58 тыс.
Python string slicing ✂️
11:37
Просмотров 60 тыс.
Python *ARGS & **KWARGS are awesome! 📦
14:54
Просмотров 76 тыс.
Python dictionary comprehension 🕮
8:41
Просмотров 36 тыс.
While loops in Python are easy ♾️
6:58
Просмотров 345 тыс.