Dictionary & Its Functions Explained | Python Tutorials For Absolute Beginners In Hindi #10

Dictionary & Its Functions Explained | Python Tutorials For Absolute Beginners In Hindi #10

CodeWithHarry

5 лет назад

813,484 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Raj surya roy
Raj surya roy - 09.09.2023 09:03

Thankyou,

Ответить
Ramti Rawat
Ramti Rawat - 05.09.2023 12:51

Bhai coding ke saath gaming bhi krte ho vo bhi gta 5

Ответить
Furious Firing Boy
Furious Firing Boy - 03.09.2023 14:34

del d4[69]
KeyError: 69
Bhaiya ye error aa raha h, kya karu

Ответить
20-CSE-142 Sankhajoti Saha
20-CSE-142 Sankhajoti Saha - 24.08.2023 14:07

"Rohan bengal ka h, to wo kya khata h, fish khata h"

Ответить
Folkin Shorts
Folkin Shorts - 27.07.2023 13:56

now nice video bro just strarting to learn coding

Ответить
DeadcodeBynoor
DeadcodeBynoor - 13.07.2023 12:38

Aurangzed mere taya hen

Ответить
REX OP
REX OP - 24.06.2023 11:31

Hey whatsupp I'm learning python here is the first exercise answer.


d1 = {"Apple":"Apple is a fruit",
"Cabage":"Cabage is a vegetable",
"Software":"Software is a set of instruction given to the computer to perform a specific task",
"Cpu":"Cpu is a central processing unit of computer",
"Processor":"Processor is a heart of computer it cannot run without it"}

print("What do you want to know")

inp = input("")

print("Your answer is")
print(d1.get(inp))

but there is a issue I'm facing if in the dictionery first letter is capital and I'm writing in small it cant give me ans

Ответить
REX OP
REX OP - 24.06.2023 05:37

Hello Harry bhi I'm learning python its my 10th lecture of your video i hope i will be better in coding like you.

Ответить
Kishan Sahu
Kishan Sahu - 12.06.2023 12:22

Harry bhai ek doubt tha..main google main dekh raha tha dict data type aur waha maine dekha ki ek key ke 1 se jyada outcome ho sakte h....for eg maine ye code likha.. e1.update({"Books":["N&S","H.Varian","Donbrush & Fisher","BLanchard"]}) .... fir ek aur function dekha jaha pe kisi key ke outcome ko change kar sakte h...par iss waale case main kaise hogaa wo.. like agar mujhe "N&S" ko "HL Ahuja" se change karnaa ho to

Ответить
Kishan Sahu
Kishan Sahu - 12.06.2023 06:18

Going video by video

Ответить
Sparsh Rajput
Sparsh Rajput - 29.05.2023 23:37

You videos are amazing but Aurangzeb was a asshole.🤧

Ответить
Kyralisha
Kyralisha - 13.05.2023 18:22

awesome

Ответить
Movie sence
Movie sence - 12.05.2023 12:53

😎😎

Ответить
subham rajput
subham rajput - 30.04.2023 18:55

first time on this channel and when you are giving examples of names I just assume that you will definetily add shubham in example and you added 😂😂😂😂😂😂

Ответить
ANAS ANSARI
ANAS ANSARI - 28.03.2023 19:55

Ur Explanation is on top bro 👍

Ответить
galaxy Max
galaxy Max - 07.03.2023 21:04

Super

Ответить
Awaisiqbal Awais
Awaisiqbal Awais - 07.03.2023 13:22

Excellent job

Ответить
Samiksha Niwal
Samiksha Niwal - 27.02.2023 12:49

great session

Ответить
Saurabh Pandey
Saurabh Pandey - 26.02.2023 11:21

Harry bhai maja aagya apnay toh concept smjanay kein sath sath Aurangzeb ko roast bhi kr diya

Ответить
Ibadat Afridi
Ibadat Afridi - 26.02.2023 10:18

Saare videos

Ответить
Atharva Kirve
Atharva Kirve - 18.02.2023 18:14

d1={"watch":"shows time","pen":"helps yo write"}
a=(input("enter word"))
print(d1[a])
my brother learnt python from you ,so he preffered me to learn from you.I am in 7 std

Ответить
Fatima Ahmad
Fatima Ahmad - 14.02.2023 22:58

Why dictinary,list are classes when you check the datatype

Ответить
NISHAT RIZWAN
NISHAT RIZWAN - 05.02.2023 00:37

owsm

Ответить
Learn with Aisha Nadeem
Learn with Aisha Nadeem - 31.01.2023 18:03

Bhayia ap sab line ko select kar ka aik e sath kaisa comment karty ho . Kia key use karty ho

Ответить
Ullas Mathew
Ullas Mathew - 29.01.2023 17:26

i see all videos of your more than 20 to 30 times

Ответить
head shorts
head shorts - 24.01.2023 18:25

harry bhai ek baar gta V bhi toh chala kar dikha doh 😁

Ответить
Vivek Bhos ✓
Vivek Bhos ✓ - 18.01.2023 13:13

Thanks a lot harry bhai

Ответить
Vanshika Wadyalkar
Vanshika Wadyalkar - 13.01.2023 10:17

Maine sare dekhe 10 tak , and moving forward

Ответить
Manisha singla
Manisha singla - 11.01.2023 15:44

10 videos

Ответить
AB Singh
AB Singh - 06.01.2023 18:52

Who is rohan and skillf?

Ответить
Muhammad Nabi
Muhammad Nabi - 05.01.2023 11:23

sir please can you make a video on (create you own image classifier in python) its very important topic because i search it a lot but not found anywhere.

Ответить
Danish Rafiq
Danish Rafiq - 04.01.2023 20:03

dict = {1:'bycycle',2:'cars',3:'animals',
'A':'shopes',
'B':'house',
'C':'market',
'D':['pancile','rubbar','lunchbox','books'] }
print('That is original dictinary you can compare with all function.','\n',dict,'\n')

x = dict.get(3)
print('call key number 3 by get function.','\t',x,'\n')
y = dict.items()
print('Call all items by .items function.','\n',y,'\n')
z = dict.values()
print('Call all values by .values function.','\n',z,'\n')
print('dictinary is slicing.','\t',dict['D'][3],'\n')
z = dict.keys()
print('Call all keys by .keys function.','\t',z,'\n')
dict.pop('B')
print('One item remove in dictinary by .pop function.','\n',dict,'\n')
dict.update ( {'Student': {'N':'Danish Rafiq', 'A':33, 'H':'5.10inchs'}} )
print(dict)

Ответить
Aryaman Gaur
Aryaman Gaur - 02.01.2023 08:01

I watched your 4 videos sir

Ответить
Fezan Zahid
Fezan Zahid - 01.01.2023 12:20

LOVE FROM PAKISTAN

Ответить
blind faith
blind faith - 27.12.2022 21:48

dictionary ={"wage":"is the money that someone is paid every week by their employer", "merger":"the joining of two or more companies to make one larger company","lucrative":"producing a lot of money","inflation":"an increase in the price of goods and services over time,causing a reduction in the value of money"}
print(dictionary["wage"])

Ответить
human soal
human soal - 27.12.2022 17:45

Very helpful blessing for u by god

Ответить
Muhammad Ali
Muhammad Ali - 24.12.2022 00:44

12

Ответить
LOST ZORO
LOST ZORO - 21.12.2022 19:44

Bro kl exam ha aj apke video dekh riha hi

Ответить
Shradha Singh
Shradha Singh - 20.12.2022 21:44

nice concept but auranzabe🤣🤣 420

Ответить
die die die
die die die - 18.12.2022 14:12

Aurangzeb ziyada ban raha🤣🤣🤣

Ответить
die die die
die die die - 18.12.2022 13:14

🤣🤣🤣🤣🤣🤣🤣 good yar heavy 🔥

Ответить
Fatima Munir
Fatima Munir - 17.12.2022 09:13

I'm from Pakistan nd I'm totally new in programming, it's just amazing nd easy bcz of u, May Almighty gives you a beautiful life ahead tysm for ur stuff, great work bruh!!

Ответить
Hey maa durga
Hey maa durga - 08.12.2022 15:34

Thank sir

Ответить
12,Piyusha kaushik,10A
12,Piyusha kaushik,10A - 06.12.2022 16:44

we deserve these types of good teachers in schools,
love ya harry don't ever stop making videos, I believe one day I will be able to code efficiently all because of such a great teacher💌

Ответить
Gaurav Chaudhari
Gaurav Chaudhari - 03.12.2022 16:51

thanks

Ответить
KISHLAY RAJ
KISHLAY RAJ - 03.12.2022 14:51

av tk dekh liya sara

Ответить
KISHLAY RAJ
KISHLAY RAJ - 03.12.2022 14:16

Bhai aap ek baar 2-3 line ko kon si short cut keys ke use se comment krte ho in pycharm and vscode

Ответить