BILINGUAL WORD CARD · RANK 49

import

🧰 Brings in external modules like math or re

Loads a Python module into your script.

中文对照 · Chinese

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

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

Code example

import math
print(math.sqrt(16))
Explore 100 bilingual word cards →