- 博客(1)
- 收藏
- 关注
原创 猜拳游戏——python
# date:2022//03//25 import random playerinput = input("请输入(0剪刀、1石头、2布:)") player = int(playerinput) computer = random.randint(0,2) if(player == 0 and computer == 2)or(player == 1 and computer == 0)or(player == 2 and computer ==1): print("电脑出的拳头是%s,恭喜.
2022-03-25 23:22:16
4596
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人