What do you mean by dynamic typing of a variable ? What is the caution you must take care of ?

In python we can make a variable point to a value of different type by reassigning a value of that type, this is called dynamic typing.

For instance:

var1 = 56

var1 = ‘Rail’ # Reassignment to a different variable type

Caution that should be taken is that certain operations are not valid for certain variable types like division of a string, so for example after reassignment of an integer to a string type such operations should not be applied. For example we can not divide var1 now as it is a string now.