defining an int in python code example Example: python declare int x = 5 print(type(x)) # Output: <class 'int'>