dictionary

Dictionary Handling in Python – Notes

Dictionary Handling in Python Topics Dictionary: introduction, accessing items in a dictionary using keys, mutability of dictionary (adding a new item, modifying an existing item), traversing a dictionary, built-in functions: len(), dict(), keys(), values(), items(), get(), update(), del(), clear(), fromkeys(), copy(), pop(), popitem(), setdefault(), max(), min(), count(), sorted(), copy(); Suggested programs : count the number […]

Dictionary Handling in Python – Notes Read More »

Python Revision Tour – II : String, Lists, Tuples, Dictionary – Notes

Class 12 Computer Science Python Revision Tour – II Notes String/Text Handling in Python What is a String? Python strings are characters enclosed in quotes of any type – single quotation marks, double quotation marks, triple quotation marks. An Empty string is a string that has 0 characters, i.e. ‘ ’ , “ ”, “““

Python Revision Tour – II : String, Lists, Tuples, Dictionary – Notes Read More »

You cannot copy content of this page

Scroll to Top