Commit fe8556fe by BellCodeEditor

save project

parent b17c3379
Showing with 7 additions and 1 deletions
......@@ -4,4 +4,10 @@ while True:
list=['石头','剪刀','布']
LDD=random.choice(list)
print('人机出拳:'+LDD)
print('真人出拳:'+plaryer)
if plaryer==LDD:
print('平局')
elif (LDD=='石头'and LDD=='布')or(LDD=='剪刀'and LDD=='石头')or(LDD=='布'and LDD=='剪刀'):
print('你赢了')
else:
print('你输了')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment