check if variable is of type decimal.Decimal python

i = 100
f = 1.23

print(type(i))
print(type(f))
# 
# 

Here is what the above code is Doing:
1. We create a variable called i and assign it the value 100.
2. We create a variable called f and assign it the value 1.23.
3. We print the type of the variable i.
4. We print the type of the variable f.