python what is variable code example
Example 1: variables in python
#Variables
#Name your variable
myvar = 'Variable'
Number = 9
print(myvar, Number, 'are the variables I made')
Example 2: python variable
string = 'string'
integer = 5
boolean = True
Example 3: variables in python
VarName = "Value"
VarName = 56
VarName = True
Example 4: variables in python
x = 5
y = "John"
print(x)
print(y)