define var python code example Example 1: variables in python VarName = "Value" VarName = 56 VarName = True Example 2: vars python >>> vars(dict)