defining a value in python code example Example 1: variables in python x = 5 y = "John" print(x) print(y) Example 2: declare double python explicit_number: type