首页/Python/正文 Python随机数Python发布日期:2025-02-02459 次阅读 import random# 生产随机数0-2的随机数computer = random.randint(0,2) 无才无以立足,不苦不能成才。