双语词卡 · 常用度第 49 位

import

🧰 从图书馆借来专业的数学工具箱

比如 `import math` 就能使用平方根 `math.sqrt` 和圆周率 `math.pi`。

English

🧰 Brings in external modules like math or re

Loads a Python module into your script.

代码示例

import math
print(math.sqrt(16))
探索 100 张双语词卡 →