how to check if an input is an integer or float in python code example Example: check integer number python N.is_integer()