generate functionSun, 23 Apr 2023
tell the difference between integer or float of a number.
def get_type(a): if type(a) == int: return 'int' elif type(a) == float: return 'float' else: return 'unknown' get_type(1) get_type(1.1) get_type('1')
Python
Generate More