python - 如何在不导入任何内容的情况下获得数字的平方根?你知道我们可以这样做:
import math a = 4 s = math.sqrt(a)
但我想在不导入任何库的情况下更简单地做到这一点。
python math.sqrt python-import python-2.7 python-3.x
math.sqrt ×1
python ×1
python-2.7 ×1
python-3.x ×1
python-import ×1