Commit f4056cb7 by BellCodeEditor

save project

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