Commit 23996645 by BellCodeEditor

auto save

parent ec582f85
Showing with 5 additions and 5 deletions
import random import random
co = input("玩家请出拳:(剪刀/石头/布)") player = input("玩家请出拳:(剪刀/石头/布)")
print("玩家出的是:"+co) print("玩家出的是:"+player)
list=["剪刀","石头","布"] list=["剪刀","石头","布"]
cu=random.choice(list) computer=random.choice(list)
print("电脑出的是:"+cu) print("电脑出的是:"+computer)
\ No newline at end of file \ 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