Dictionary Methods: Program: h1={1:'APPLE',2:'GRAPES',3:'GUAVA'} temp=h1.copy() print("copy()=",temp) print("items()=",h1.items()) print("keys()=",h1.keys()) print("pop()=",h1.pop(1)) print("popitem()=",h1.popitem()) h1.clear() print("clear()=",h1) Output: copy()= {1: 'APPLE', 2: 'GRAPES', 3: 'GUAVA'} items()= dict_items([(1, 'APPLE'), (2, 'GRAPES'), (3, 'GUAVA')]) keys()= dict_keys([1, 2, 3]) pop()= APPLE popitem()= (3, 'GUAVA') clear()= {} Illustrative Problems: S.No Method Syntax Description Name 1. Clear dict.clear() Removes all elements in dictionary 2. Copy dict.copy() Returns a shallow copy(alias) of the dictionary 3. Items dict.items() Returns a list of(key,value) tuple pairs 4. Keys dict.keys() Returns a list of dictionary keys 5. Pop Dict.pop(key[,default]) Remove element with key K and return its value. Returns default id K is not found. 6. Popitem dict.popitem() Removes and return element(key,value) from th
Your hard work and consistency will make you great sucess sir ...congrats🎉
Sir . 2 mark podunga sirrrrr ... plsssssss
Namba students elam like podunga pa pavam sir evlo hardwork pandraru namakaga😊
Waiting questions konjam seekiram poduga sir, python exam ku leave ila
Sir linear and binary search video podunga.... ❤
Ama sir poduga ahh
Your teaching is fantastic bro.....Classes and objects, inheritance, functions questions la upload pannunga
Sir which book do u refer for python
Tq sir Your speech explain spr sir✨☺🎉
Sir one small help neenga edukura topic and
Paragraph ellathaium oru photo eduthu pdf apload panninga na konjam help full la irukum 🙏
Sir format opertor and command line argument video upload pannunge sir
Sir 2,3,4 units video upload panunga sir
Sir creating a module?
Thanks bro
Operators in python
Iteration
Vedio podunga plse anna
String functions and methods podunga sir
Sir modules and packages same question ha pls reply
Yes
tq sir
Tq sir
Sir idha mattum eludhunaa podhumaa sir...
Linear search binary search poduga sir pls..
Tq so much sir 🎉❤❤ first comment sir😊
Sir spr....ethuku full mark vanthurula..anna
Very supper sir
Unit 2 & 3 podunga bro
Sir nxt 2marks upload pannunga pls sir
When will you upload 2mark sir??
Semma
Sir neenga solra tha semester exam ezhuthana mark poduvangala sollunga pls
First comment 📌
Any one for tomorrow exam
Im in
🖐
🎉
Vara mare🎉🎉
Ivaru soldra Mari chinna tha write panna mark poduvanga la??
Sir pls... 1unit full video podunga
Hii sir
Please explain pairing energy seminar topic sir
Sir illustrative problem video uplode pannunga sir.please
Sir 16mark data types annpuuga sir
Anneyyy 2 marks & Linear and binary search upload panunga anneyyyyy dictionary also neyyyy ...
Super
2 mark upload pannuga sir please......🙏🏼
Command line argument notes needed
2 mark poduga sir please 😢😢😢😢
2 mark questions podunga sir
Sir, preparation start pannanum vedio podunga English easyaa pass agidalam
Part A sir
Sir global variables local variables explain pannunga
2024 university exam important questions podunga sir
Sir part A upload panuga sir please
Sir tuple assignment video uplode pannunga sir
Unit 5 podum sir
Vera unit lam poduga sir
@4gsilver tamil
Bro fast ta upload panuga sir please 🙏🙏🙏🙏🙏🙏🙏🙏
Sir Python interpreter podunga
Unit 5 video podunga please
Plzzz upload neet video
Sir intha questions important ta
Sir yethavathu question upload pannunga morning revision pannanum morning padicha maranthudum pls
Tower of hanoi podunga sir simpleaah
Next vedio yepo sir😢
Hii sir
Sir part A pls
Sir unit 2 and unit 3 la podunga sir please
Anna c programming podunga
Sir speed ah video podunga please 😢
tuple, list, string, dictionary send panuga sir
Dictionary Methods:
Program:
h1={1:'APPLE',2:'GRAPES',3:'GUAVA'}
temp=h1.copy()
print("copy()=",temp)
print("items()=",h1.items())
print("keys()=",h1.keys())
print("pop()=",h1.pop(1))
print("popitem()=",h1.popitem())
h1.clear()
print("clear()=",h1)
Output:
copy()= {1: 'APPLE', 2: 'GRAPES', 3: 'GUAVA'}
items()= dict_items([(1, 'APPLE'), (2, 'GRAPES'), (3, 'GUAVA')])
keys()= dict_keys([1, 2, 3])
pop()= APPLE
popitem()= (3, 'GUAVA')
clear()= {}
Illustrative Problems:
S.No Method Syntax Description
Name
1. Clear dict.clear() Removes all elements in dictionary
2. Copy dict.copy() Returns a shallow copy(alias) of the
dictionary
3. Items dict.items() Returns a list of(key,value) tuple pairs
4. Keys dict.keys() Returns a list of dictionary keys
5. Pop Dict.pop(key[,default]) Remove element with key K and return its
value. Returns default id K is not found.
6. Popitem dict.popitem() Removes and return element(key,value)
from th
Half an hour before exam 😅
23/7/2024
Ithuvum padikauma sir
Sir video konjam fasta podunga time achu
Impartant 2 mark sollunga sir 🙏🙏🙏🙏🙏
Sir please 2 mark mattum innaiku upload pannunga please
Please apload the 2m bro ❤️❤️💘💛🧡🧡💝💛🖤💘
Remaining answer upload panuga sir plz
drive.google.com/file/d/1wu7DgbbJVy6MKyqlO4G-5tx8DGHgDXRJ/view?usp=drivesdk
drive.google.com/file/d/1wlEjhf-FYGxNTy0pMVy2McwkuVjRIJzj/view?usp=drivesdk
Python chapter 2 and 4 notes
2 mark
Sir modules kita neega sonnathu mattum padicha pothumma
Sir reply pannuga sir pls
@@user-bg4sd5so1spothum bro Ivaru solra questions mattum padicha pothum bro
2 marks upload pannuga sir please
Sirr important 2 mark
Sys modules
Deivame... andha two mark knjm podunga 🥺🥺🥺
Sir 2 marks send panuka
Sirrrr.....2 marks upload pannunga 🤧
Sir please talk about types of functions in python
2 Marks sirrrr 😫🤧
2 mark bro
2 Mark Potugaaa
Sir 4 unit ponga .5 unit pothum,,..........
Return podala... Kojam paruga...
Today exam .😂😂
Sir elam pathutan anah 4 unit la matu upload panunga sir konjam fastaah
Sir nega solra mari short ah eluthuna mark poduvanagal pls reply me 😢