简单类型 / 数字 / 数学运算

from math import *

number = 512.0
logBase = 8.0
result = log(number, logBase)
# result is 3.0

print(f"{result = }")