how to determine whether a variable is a float or not code example
Example 1: check integer number python
N.is_integer()
Example 2: python is integer
(1.23).is_integer() # Returns false
N.is_integer()
(1.23).is_integer() # Returns false