Commit da33f10c by BellCodeEditor

save project

parent 24dc4744
Showing with 6 additions and 3 deletions
...@@ -2,5 +2,8 @@ ...@@ -2,5 +2,8 @@
name=input("你叫什么") name=input("你叫什么")
print(name+"SB"+"欢迎你") print(name+"SB"+"欢迎你")
''' '''
play=input("石头/布/剪刀") import random
print("玩家出"+play) let=["石头","布","剪刀"]
\ No newline at end of file player=input("石头/布/剪刀")
print("玩家出"+player)
random.choice(let)
\ 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