Dictionary Methods in Python | Python Tutorial - Day #34

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 😉😉
Рекомендации по теме
Комментарии
Автор

dictionary={
"rohit" : "BCA student",
"mango" : "Fruit",
"hockey" : "National game",
"education" : {"BCA": "Software"}

}
def search(n, s):
if n in s:
print("yes it is present & details are = ", n, " : ", dictionary[n])
else:
print("wrong input")

a=input("Enter the word you are looking : ")
print(search(a, dictionary))

theleadzone
Автор

This course is must for a beginner in python. I came from Day 33 of this course. I rate 4.9 out of 5. Your basic concept about Python language will be cleared but you have to practice consistently to learn better.

abhinavchaudhary
Автор

I came form day 33 to rate this course.
Frstly, I would say that this course is just awesome and it is helping a lot to learn python in easiest way.
I'm always worried with procastination like delaying the things or works tha ti wanted to do.
i have statred this course on Feb 10th and to day it is Feb 22 and i have complleted 32 days of coding in 12 days as prior to this i have basic understanding of python.
Harry bhai asked me rate this course but i would say rating is the least thing for this course or i would say this is an excellent course for those who want to really learn python this palylists give you a comeplete understanding form the beginning like the way you want.
Loving this thanks for providing this harry bhai.

freelancing
Автор

I love to code because it is usable art ⚜🎨

tajinder
Автор

DAMN!!!..NO ONE IN WHOLE YOUTUBE MAKES ALL THE CONCEPTS CLEAR LIKE YOU.THANKSS #harrybhai

aniket
Автор

Regular watching with making notes
5/5 for course
1000/1000 for you❤

pyrishicode
Автор

00:02 The 'Dictionary' method .update is used to update a dictionary.
00:50 Storing multiple employees' performance in a variable and updating it with new employee IDs.
01:59 'ep1' can be updated with key-value pairs using the 'update' method.
03:00 The dictionary methods in Python include .pop and .popitem
04:04 You can use the 'del' keyword to delete key-value pairs from a dictionary
04:59 Using different data types as dictionary keys in Python
06:02 Dictionary methods in Python are useful for solving real-world problems
07:13 Learn how to navigate and utilize a dictionary in Python.

ayush.tiwarios
Автор

Happy new year haar bhai...ummed h agle saal me i will thank you as a developer

ajaybhati
Автор

1 more thing to keep in mind, if there are identical keys in both the dictionaries, eg - a = {12:50, 17:51} and b = {11:45, 12:55}, we can see 12 is a key for both the dictionaries, now with the update function a.update(b), the value of key -12 in b will replace the original value. So new "a" dictionary will be a = {12: 55, 17: 51, 11: 45}.

SarcasmWEB
Автор

10 stars out of 5 stars, this is an marvellous course, than you Harry bhai

aryanchauhan
Автор

Your course is very best it is great full for us we all are learning in free and your content is good

krish
Автор

Sir pura course bana diye ho toh iske baad pls Django tutorial bhi banana

sufystyle
Автор

ap k cource ko still dekh raha hun bahot maza aa raha ha sekhny mean /thanks boss

coolvisiondiabetes
Автор

Bhrata pranam 🙏 apka bahutt baht dhanyawad 😄🧡😇🙏🙏😇

anonymous____________________
Автор

do you have any pattern printing videos of python?

priyanshishah
Автор

thanks harry bhai for telling us the website

siyamrafiq
Автор

i have compeleted 34 lecture of 100 day python course and feeling to learn more as i am 3rd year student in bca and

Gamingboiz
Автор

#I made a dictionary app in python (Please try it out)
dict1 = {
"apologize" : "to say that you are sorry for something that you have done",
"acknowledge" : "to accept or admit that something is true or exists",
"intermediate" : "having more than a basic knowledge of something but not yet advanced"
}

print("The words we have")
for i in dict1:
print(i)

word = input("Entre the word: ")
print(f"The meaning of {word} is, {dict1[word.lower()]}")

mrrabbit
Автор

Bro u changed my life please Baki saari important languages cover kren

shahmeerhumayun
Автор

a={'name':'vaibhav', 'address':'bhopal', 'code':'python', 34:93}
b={'name':'rajesh', 'age':36, 99:'employee id', 'address':'indore'}
a.update(b)
print("update", a)
a.pop('code')
print("pop", a)
del a['age']
print("del", a)
a.popitem()
print("popitem", a)
c=a.copy()
print("copy", c)
a.clear()
print(a)

vaibhavsoni