Commit 830cef08 by BellCodeEditor

save project

parent 57bb9d65
Showing with 4 additions and 0 deletions
...@@ -6,3 +6,7 @@ import random ...@@ -6,3 +6,7 @@ import random
dog=["石头","剪刀","布"] dog=["石头","剪刀","布"]
a=random.choice(dog) a=random.choice(dog)
print(a) print(a)
if player==a:
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