math
📐 Standard math library
Built-in library for mathematical functions.
中文对照 · Chinese
📐 装着三角函数与平方根的百宝盒
Python 用 `import math`,C++ 用 `#include <cmath>`。
Code example
import math print(math.gcd(12, 18))Explore 100 bilingual word cards →
Built-in library for mathematical functions.
📐 装着三角函数与平方根的百宝盒
Python 用 `import math`,C++ 用 `#include <cmath>`。
import math print(math.gcd(12, 18))Explore 100 bilingual word cards →