Commit 1252e21c by BellCodeEditor

save project

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