Run »
#Import math Library import math #Return mantissa and exponent of a given number print(math.frexp(4)) print(math.frexp(-4)) print(math.frexp(7))
(0.5, 3)
(-0.5, 3)
(0.875, 3)