Sets in Python | Python Tutorial - Day #31

preview_player
Показать описание
Python is one of the most demanded programming languages in the job market. Surprisingly, it is equally easy to learn and master Python. This python tutorial for absolute beginners in Hindi series will focus on teaching you python concepts from the ground up.

python, C, C++, Java, JavaScript and Other Cheetsheets [++]:

►Learn in One Video[++]:

►Complete course [playlist]:

Follow Me On Social Media
Comment "#HarryBhai" if you read this 😉😉
Рекомендации по теме
Комментарии
Автор

Sir you are best teacher till now but pls give show some examples of this topics like how these topics will help in making projects. it gives us motivation . who all

NavayNarang
Автор

Sir your python for beginners video is amazing .😘💕 Your are great in python I respect your.. thanks very much 😊

mohdrahil
Автор

awsome teaching by codewithharry with the word "let get started "

gyaneshraj
Автор

5:19
khizr = {} # Beginners will do this - but the output will be dictionary
khizr = set() # Right approach to create an empty set is this (I've already learned python twice from you)
print(type(khizr))

khizrshaikh
Автор

1. Sets are collection of well defined data type.
2. Set in python is made by { }
3. all functions of list are applicable to sets
4. sets and lists are different in only that a set does not allow repetition of same entry while in list you can repeat the same item.
5. Empty set is made by Emptyset= ( ) instead of { }
6. There is no guaranttee of order being maintained by Python within a set so output can change every time. (bummer)
7. To get items you can use for loop just like a list.

sohailnawaz
Автор

THe purpose of set data type is that "To store collection or multiple values either of same type or different type or both types with Unique Values(No duplicated value are allowed)

muzammilahmedkhan
Автор

@CodeWithHarry. solution to the fibonacci series:

a = 0
b = 1
c = a + b

def fib(n):
if(n>2):
return fib(n-1)+fib(n-2)
else:
return a+b

print(fib(6))

tlqvtdl
Автор

present after 1 week and now i will be consistent with this python series

muhammadzunair
Автор

Finally I can move on to the next playlist for me!!
12th of July
Finished till 30th

Moving towards Front End and Java
See ya Tomorrow!!

Jai Hind!!
Thank You Guruji!!

biswajeet
Автор

hey harry, I made it till here, I will make it to 100 for sure!!!
thankyou harry

piyushmalviya
Автор

Thank you so much sir for creating this video!

technikalproblem
Автор

hey Harry, you are an amazing teacher

sarakhazeema
Автор

Bhai explain bahut hi achha karte ho thank you for python playlist

BharatSingh-nxpv
Автор

Govt should present you with an Award for sure!!

biswajeet
Автор

Harry = set() # using set() function as empty dictionary uses { }
print(type(Harry))
# output:
<class 'set'>

Bappaqoutes
Автор

n=int(input("enter a no of terms."))
def fibon():
num1=0
num2=1
print(num1)
print(num2)
for i in range(n):
a=num1+num2
num1=num2
num2=a
print(a)
fibon()

harshitaTripathi
Автор

i have completed DAY 30 and excited for remaining python tutorial day🙂

shubhamraj
Автор

Please start a C/C++ tutorial after this Python course. You are an excellent teacher

techwithfafzu
Автор

Bhaiyaa you are. The best coder ever ♥️♥️♥️♥️

VishalGupta-eqfk
Автор

Present Harry "The GOAT of programming" sir 🙌

realitycheckers