Commit 62afc785 by BellCodeEditor

save project

parent 16aab737
Showing with 4 additions and 1 deletions
# 玩家出拳
player=input("赶紧给老子出拳,石头,剪刀,还是布,赶紧的")
print("哦吼,你竟然出"+player)
import random
list=["石头","剪刀","布"]
PC=random.choice(list)
while player not in list:
player=input("别闹,好好玩")
print("哦吼,你竟然出"+player)
print("老子选的是"+PC)
if PC==player:
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