{}variables in python code example Example 1: python variable Python variable Example 2: variables in python x = 5 y = "John" print(x) print(y)