Commit d3a928ab by BellCodeEditor

auto save

parent e89068f0
Showing with 5 additions and 0 deletions
...@@ -7,3 +7,8 @@ while True: ...@@ -7,3 +7,8 @@ while True:
print("玩家出拳:剪刀") print("玩家出拳:剪刀")
if chuqvan=="3": if chuqvan=="3":
print("玩家出拳:布") print("玩家出拳:布")
import random
list=["石头","剪刀","布"]
computer=random.choice(list)
print("电脑出"+computer)
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