Commit 646ca2eb by BellCodeEditor

save project

parent 1a60532d
Showing with 8 additions and 3 deletions
# 玩家出拳
p=input("请出拳:")
print("player:"+p)
\ No newline at end of file
import random
p = input("请出拳:")
print("player:"+p)
l1 = ["石头","剪刀","布"]
l2 = random.choice(l1)
print("computer:"+l2)
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