Commit a2ae6813 by BellCodeEditor

auto save

parent e5d93bc7
Showing with 35 additions and 8 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) import turtle
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) a=turtle.Pen()
a.pencolor("green")
a.write("妙啊",font=("Times",60,"normal"))
a.penup()
a.goto(0,150)
a.pendown()
a.fillcolor("green")
a.begin_fill()
a.left(45)
a.forward(100)
a.forward(100)
a.right(90)
a.circle(50,180)
a.forward(100)
a.end_fill()
turtle.done()
"""
# 请用input()实现用户输入账号、密码的功能 import turtle
a=turtle.Pen()
a.pencolor("yellow")
a.begin_fill()
# 如果用户输入的账号、密码正确,提示登陆成功 a.left(45)
\ No newline at end of file a.forward(100)
a.left(90)
a.circle(50,180)
a.left(180)
a.forward(100)
a.right(90)
a.circle(-50,180)
turtle.done()
"""
import turtle
a=turtle.Pen()
a.pencolor("yellow")
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