Commit 8b576a26 by BellCodeEditor

save project

parent b28e91d5
Showing with 6 additions and 2 deletions
...@@ -3,4 +3,8 @@ player=imput("请出拳(石头/剪刀/布):") ...@@ -3,4 +3,8 @@ player=imput("请出拳(石头/剪刀/布):")
imput romdom imput romdom
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
computer=ramdon.choice(list) computer=ramdon.choice(list)
print print(请电脑出拳:"+computer")
\ No newline at end of file if player in list:
if player==computer:
print("平局")
elif player==
\ No newline at end of file
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