Commit 4fc9bf45 by BellCodeEditor

save project

parent d5002d1c
Showing with 3 additions and 1 deletions
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
plar=input("请出拳(石头/剪刀/布)") plar=input("请出拳(石头/剪刀/布)")
print(我出:"plar") print(我出:"plar")
import random import random
computer=random.choice 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