Commit 8f271dd6 by BellCodeEditor

save project

parent 7b6c5d74
Showing with 7 additions and 3 deletions
player=input("剪刀/石头/布:") player=input("石头,剪刀,布?")
print("玩家出拳::"+player) print("玩家出:"+player)
\ No newline at end of file import random
b=["石头","剪刀","布"]
random.choice(b)
print("电脑出:"+random.choice(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