What happens when you try to access the value of an undefined variable ?
An error called NameError is raised
What happens when you try to access the value of an undefined variable ? Read More »
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