Commit c019bf31 by BellCodeEditor

save project

parent 642a3cdf
Showing with 3 additions and 2 deletions
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
a=input("请出拳(石头/剪刀/布):") a=input("请出拳(石头/剪刀/布):")
print("玩家:"+a) print("玩家:"+a)
import random import random
list=["石头,剪刀,布"] c=["石头","剪刀","布"]
b=random.choice(list) b=random.choice(c)
print("机器:"+b) print("机器:"+b)
\ 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