Dictionaries in Python

Python Dictionaries

Dictionaries hold key-value pairs which are known as items. SYNTAX : dictionary_name = { key_1 : value_1, key_N : value_N} Empty dictionary dictionary_name = {} To access items from the dictionary dictionary_name[ key ] Example : To Replace a value in Dictionary Add new item in dictionary Remove items from dictionary: use del keyword Accessing… Read More

String Coding Questions with solutions.

String coding questions

This section will cover all the questions that might be asked in any of your interviews or coding round. The string programs are written in basic C Language. In this section theory is not covered, this section focuses to improve practical coding knowledge of strings. After reading this blog you will be able to answer… Read More

1 4 5 6