运行 ❯
拥有你自己的 Python 服务器
×
更改方向
更改主题,深色/浅色
前往 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