Commit 9d088f95 by BellCodeEditor

save project

parent a11c291f
Showing with 3 additions and 2 deletions
...@@ -3,4 +3,5 @@ a=input("玩家出拳:剪刀/石头/布:") ...@@ -3,4 +3,5 @@ a=input("玩家出拳:剪刀/石头/布:")
print("玩家出拳:"+a) print("玩家出拳:"+a)
import random import random
list["剪刀,石头,布"] list["剪刀,石头,布"]
input(random.choice(list)) input(random.choice(list)
\ No newline at end of file print(choice)
\ 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