Commit f49cb3d6 by BellCodeEditor

save project

parent e2f662c0
Showing with 6 additions and 10 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳 import turtle
print("玩家出拳:"+player) Pen=turtle.Pen()
input random Pen.write("Hi~诺伊~\n用python写电子贺卡太有趣啦~\n我喜欢python~\n——悟空",font=("Times",18,"normal"))
list("石头,剪刀,布") Pen.hideturtle()
computer=random.cholce(list) turtle.done()
print(list) \ No newline at end of file
if player==computer
player("平局")
elif (computer=="剪刀",player=="石头")(computer=="石头",player=="布")(computer=="布",player=="剪刀")
print=="玩家胜利"
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