- 博客(3)
- 收藏
- 关注
原创 python基础流程猜拳游戏,第一天记录
'''猜拳游戏1.剪刀 2.石头 3.布玩家为player 电脑为com'''def func(): winplayer = 0 wincom = 0 for b in range(1,4): com = input('电脑出拳:') player = input('玩家出拳:') # print('电脑出拳{}'.format(com)) if int(player) == int(com): .
2022-04-30 14:20:07
1763
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人