简单类型 / 数字 / Integer
从字符串转换
转换为字符串
算术运算
获取随机值
按位运算
数字系统
检查溢出
BigInteger
from
random
import
randint
rand =
randint
(
0
,
2
)
# rand
is
0, 1
or
2
print
(f
"
{rand = }
"
)