Dec-03-2019, 12:52 AM
division of two integers returns a float
>>> a = 6 >>> b = 3 >>> c = a/b >>> print(f"type(a): {type(a)}, type(b): {type(b)}, type(c): {type(c)}") type(a): <class 'int'>, type(b): <class 'int'>, type(c): <class 'float'> >>>