how to check if something is a float in python code example Example: check integer number python N.is_integer()