Commit f4056cb7 by BellCodeEditor

save project

parent 680deb3e
Showing with 7 additions and 7 deletions
player=print("请出拳(剪刀/石头/布):")# 玩家出拳 #回复
print("玩家出拳"+player) import turtle
import random pen=turtle.Pen()
list=["剪刀","石头","布"] pen.write("Hi,诺依~\n用python写电子贺卡太有趣啦~\n我也喜欢python~\n——悟空",font=("times",20,"normal"))
computer=random.choice(list) pen.hideturtle()
print(computer) turtle.done()
\ No newline at end of file \ 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