py variable type declaration code example
Example 1: how to declare a variable in python
variable = 2
Example 2: python cvariables
x = 7 #sets int as x
y = "John"# sets the string as y
print(x)#prints x
print(y)# prints y
variable = 2
x = 7 #sets int as x
y = "John"# sets the string as y
print(x)#prints x
print(y)# prints y