我正在尝试生成一个随机数。
import random print(random.randint(1,10))
我是否能够生成 1-10 之间的数字但不生成 x?
例如 x = 3
python
python ×1