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🎉
Any one for tomorrow exam
Im in
🖐
Namba students elam like podunga pa pavam sir evlo hardwork pandraru namakaga😊
Sir . 2 mark podunga sirrrrr ... plsssssss
Your teaching is fantastic bro.....Classes and objects, inheritance, functions questions la upload pannunga
Sir linear and binary search video podunga.... ❤
Ama sir poduga ahh
Tq sir Your speech explain spr sir✨☺🎉
Waiting questions konjam seekiram poduga sir, python exam ku leave ila
Very Very thank you sir 🙏 ❤
Sir one small help neenga edukura topic and
Paragraph ellathaium oru photo eduthu pdf apload panninga na konjam help full la irukum 🙏
Tq so much sir 🎉❤❤ first comment sir😊
2 mark poduga sir please 😢😢😢😢
Sir spr....ethuku full mark vanthurula..anna
🎉
Sir modules and packages same question ha pls reply
Yes
Sir 2,3,4 units video upload panunga sir
Half an hour before exam 😅
23/7/2024
Operators in python
Iteration
Vedio podunga plse anna
Sir creating a module?
Sir which book do u refer for python
2 mark upload pannuga sir please......🙏🏼
String functions and methods podunga sir
First comment 📌
Vara mare🎉🎉
Ivaru soldra Mari chinna tha write panna mark poduvanga la??
Sir nxt 2marks upload pannunga pls sir
Sir 16mark data types annpuuga sir
When will you upload 2mark sir??
Sir format opertor and command line argument video upload pannunge sir
Part A sir
Unit 2 & 3 podunga bro
Anneyyy 2 marks & Linear and binary search upload panunga anneyyyyy dictionary also neyyyy ...
Super
Linear search binary search poduga sir pls..
Sir global variables local variables explain pannunga
Hii sir
Very supper sir
Impartant 2 mark sollunga sir 🙏🙏🙏🙏🙏
Plzzz upload neet video
Deivame... andha two mark knjm podunga 🥺🥺🥺
2024 university exam important questions podunga sir
Sir illustrative problem video uplode pannunga sir.please
Sir pls... 1unit full video podunga
Hii sir
Please explain pairing energy seminar topic sir
Sir idha mattum eludhunaa podhumaa sir...
Sir, preparation start pannanum vedio podunga English easyaa pass agidalam
Sir speed ah video podunga please 😢
2 mark questions podunga sir
Command line argument notes needed
Sir neenga solra tha semester exam ezhuthana mark poduvangala sollunga pls
2 mark
2mrw for seminar paa😂
Next vedio yepo sir😢
Sir intha questions important ta
Sir yethavathu question upload pannunga morning revision pannanum morning padicha maranthudum pls
Unit 5 podum sir
Vera unit lam poduga sir
@4gsilver tamil
Bro fast ta upload panuga sir please 🙏🙏🙏🙏🙏🙏🙏🙏
Please apload the 2m bro ❤️❤️💘💛🧡🧡💝💛🖤💘
Sir tuple assignment video uplode pannunga sir
Sir modules kita neega sonnathu mattum padicha pothumma
Sir reply pannuga sir pls
@@SobiyaSobiya-n5vpothum bro Ivaru solra questions mattum padicha pothum bro
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
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
Sir Python interpreter podunga
Tower of hanoi podunga sir simpleaah
Anna c programming podunga
Sir please talk about types of functions in python
Sir video konjam fasta podunga time achu
2 Marks sirrrr 😫🤧
Sirrrr.....2 marks upload pannunga 🤧
Sir part A upload panuga sir please
Unit 5 video podunga please
Thanks bro
Sir unit 2 and unit 3 la podunga sir please
Sirr important 2 mark
Sir please 2 mark mattum innaiku upload pannunga please
Sir part A pls
Tq sir
Sir 2 marks send panuka
2 marks upload pannuga sir please
Semma
2 Mark Potugaaa
Today exam .😂😂
Ithuvum padikauma sir
2 mark bro
Sir 4 unit ponga .5 unit pothum,,..........
Sys modules
Return podala... Kojam paruga...
Sir elam pathutan anah 4 unit la matu upload panunga sir konjam fastaah