Sets In Python - Python Trends | Learn Python From Basic To Advance #9

Veröffentlicht am: 17 April 2021
auf dem Kanal: Soft Guidance
28
5

Sets are used to store multiple items in a single variable.

Set is one of 4 built-in data types in Python used to store collections of data, the other 3 are List, Tuple, and Dictionary, all with different qualities and usage.

A set is a collection which is both unordered and unindexed.
Set items are unordered, unchangeable, and do not allow duplicate values.
Sets are written with curly brackets.

Example
Create a Set:
setex = {"apple", "banana", "cherry"}
print(setex)

if you have any query feel free to ask any doubt :)
hope you guys enjoy it :)

Do you wanna learn Python from zero to hero ?
Go and watch now the best playlist ever
👇👇
   • Learn Python From Zero To Hero  

Do you wanna build Python Projects ??
Here i share some interesting projects
👇👇
   • Python Projects  

Tricks which make your code 5x more faster and smarter
👇👇
   • Tricks To Make Code 5x More Faster An...  

Instagram handle -   / pythontrends  
linked In Handle - www.linkedin.com/in/khushi-padadune
#python_zero_to_hero_playlist


Auf dieser Seite können Sie das Online-Video Sets In Python - Python Trends | Learn Python From Basic To Advance #9 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Soft Guidance 17 April 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 28 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!