declare int python code example
Example 1: python declare int
x = 5
print(type(x))
# Output: <class 'int'>
Example 2: declare double python
explicit_number: type
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