Python随机数 Python • 2025-02-02• 267次阅读 import random# 生产随机数0-2的随机数computer = random.randint(0,2) 再长的路,一步步也能走完,再短的路,不迈开双脚也无法到达