Commit 7c19db38 by BellCodeEditor

save project

parent 0f3017f0
Showing with 6 additions and 17 deletions
import turtle import turtle
screen=turtle.Screen() username="python"
screen.bgcolor("light blue") userpassward="123456"
pen=turtle.Pen() name=input("请输入用户名:")
password=input("请输入密码:")
pen.penup() if name==userpassward and password==userpassward:
pen.goto(-100,0) print("登录成功")
pen.write("Hi,依诺~\n用python写电子贺卡真是太有趣啦~\n我也喜欢用python~\n——悟空",font=("Time",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
len=screen.te
turtle.done() turtle.done()
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