Commit 0187ad8a by BellCodeEditor

save project

parent 43c137ed
Showing with 7 additions and 0 deletions
...@@ -5,3 +5,10 @@ list=["石头","剪子","布"] ...@@ -5,3 +5,10 @@ list=["石头","剪子","布"]
sb=random.choice(list) sb=random.choice(list)
print(sb) print(sb)
name=input("请出拳(石头,剪子,布)")
print=("玩家出拳"+name)
import random
list=["石头""剪子""布"]
sb=random.choice(list)
print(sb)
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