how to create a int variable in python code example Example: python declare int x = 5 print(type(x)) # Output: <class 'int'>