摘要: 答案 import random #引入随机数的库 print("请输入:剪刀(0),石头(1),布(2):-") a=int(input()) b=random.randint(0,2) #随机生成0,1,2三个数中的一个 if a==0 : me="剪刀" print("你的输入为:", me) 阅读全文
posted @ 2021-01-13 16:16 一亩三分甜儿 阅读(146) 评论(0) 推荐(0)