Commit b31c6759 by BellCodeEditor

save project

parent d8af280b
Showing with 5 additions and 0 deletions
...@@ -19,3 +19,7 @@ a.done() ...@@ -19,3 +19,7 @@ a.done()
a = input("请出拳:石头/剪刀/布") a = input("请出拳:石头/剪刀/布")
print("玩家出拳:" + a) print("玩家出拳:" + a)
import random
a = ["石头","剪刀","布"]
s = random.choice(a)
print(s)
\ 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