how to check if a number is decimal in python code example
Example: w=how to tell if decimal in python
i = 100
f = 1.23
print(type(i))
print(type(f))
# <class 'int'>
# <class 'float'>
i = 100
f = 1.23
print(type(i))
print(type(f))
# <class 'int'>
# <class 'float'>