A note on dictionaries in Programming languages
I recently started with learning python. The good thing about python is that everything in python is dynamic. Python is dynamically typed language. What does it means? In C/C++ or Java we need to define the type of a variable before using it. int a; float b; // even Objects need to be defined in Matrix m1; But, python is different in this regard. Here, we can use a variable and its type is decided on first assignment. list # not needed but just for explanation list = [] # creates an empty list Thus, Python decides the type of a variable on its first assignment making it dynamically typed. But, another thing to be careful with in it is that Python is also strongly typed language. Means, once assigned we cant change the type of that variable. In, above python code once list varible is assigned an list object it cant be assigned any other data type. It remains list. Below, is the summarization of different types of languages based on the property we just discussed. stat...