Python Dictionaries

Dictionaries are one of the most important data-structures of python.You can think dictionaries as a hash map.Data is stored in dictionaries as a key value pair.In this post,you will learn about python dictionaries,different ways of creating python dictionaries,various methods of dictionaries and different ways of accessing dictionary elements. Creating Dictionary… Continue reading

Python for loop-Explained with Examples

Good programmers never repeat their code.Repeating and Rewriting same code again and again is bad programming habit.programmers should reuse their code in order to optimize the performance of the code,and loops can be used to implement re-usability in our code.Python provides loops like while loop,for loop and do-while loop,In this… Continue reading