Commit 25ff73bd by BellCodeEditor

save project

parent 6b47b297
Showing with 71 additions and 3 deletions
# 玩家出拳
player=imput("玩家请出拳:")
import("玩家出的拳是"+player)
\ No newline at end of file
import random
list=("石头""剪刀""布")
player=input("玩家出的拳是")
computer=random.choice(list)
print("玩家出的拳是"+player)
print("电脑出的拳是"+computer)
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