Get your own Python server Result Size: 625 x 565
x
 
# Import math Library
import math
# Return the base-2 logarithm of different numbers
print(math.log2(2.7183))
print(math.log2(2))
print(math.log2(1))
1.4427046851812222
1.0
0.0