variables and expressions to translate real-world problem into one that can be solved by an algorithmthere are two interrelated tasks firstlyselect the variablesand secondlyfind the expressions that relate to these variables variables are labels attached to objectsthey are not the object itself they are not containers for objects either variable does not contain the objectrather it acts as pointer or reference to an object for exampleconsider the following codehere we have created variableawhich points to list object we create another variablebwhich points to this same list object when we append an element to this list objectthis change is reflected in both and python is dynamically typed language variable names can be bound to different values and types during program execution each value is of typea stringor integer for examplehoweverthe name that points to this value does not have specific type this is different from many languages such as and java where name represents fixed sizetypeand location in memory this means when we initialize variables in pythonwe do not need to declare type alsovariablesor more specifically the objects they point tocan change type depending on the values assigned to themfor example