create int variable python code example
Example 1: python declare int
x = 5
print(type(x))
# Output: <class 'int'>
Example 2: Use variables in python
x = 'Welcome'
print(x)
Example 3: python cvariables
x = 7 #sets int as x
y = "John"# sets the string as y
print(x)#prints x
print(y)# prints y