Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
# 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