python小游戏(猜拳)

#!/usr/bin/python import random choices = ('石头', '剪刀', '布') computer = random.choice(choices) #生成一个随机值 print('猜拳游戏开始.......') print('请输入数字: ') print('''1.石头 2.剪刀 3.布''') while True: guess_num =
相关文章
相关标签/搜索