python value of variable code example
Example 1: python variable
string = 'string'
integer = 5
boolean = True
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
string = 'string'
integer = 5
boolean = True
x = 7 #sets int as x
y = "John"# sets the string as y
print(x)#prints x
print(y)# prints y