how to var in python code example
Example 1: variables in python
x = 5
y = "John"
print(x)
print(y)
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
x = 5
y = "John"
print(x)
print(y)
x = 7 #sets int as x
y = "John"# sets the string as y
print(x)#prints x
print(y)# prints y