Commit d5dedf39 by BellCodeEditor

save project

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