Commit 81e44430 by BellCodeEditor

auto save

parent 370cf254
Showing with 53 additions and 9 deletions
# import turtle
# pen=turtle.Pen()
# pen.pensize(5)
# pen.pencolor("brown")
# pen.left(45)
# pen.forward(100)
# pen.left(90)
# pen.circle(50,180)
# pen.left(180)
# pen.forward(100)
# pen.right(90)
# pen.circle(-50,180)
# turtle.done()
import turtle
a=turtle.Pen()
a.pensize(5)
a.penup()
a.goto(-100,0)
a.pendown()
a.pencolor("blue")
a.circle(50)
a.penup()
a.goto(0,0)
a.pendown()
a.pencolor("black")
a.circle(50)
a.penup()
a.goto(100,0)
a.pendown()
a.pencolor("red")
a.circle(50)
a.penup()
a.goto(-50,-75)
a.pendown()
a.pencolor("yellow")
a.circle(50)
a.penup()
a.goto(50,-75)
a.pendown()
a.pencolor("light green")
a.circle(50)
turtle.done()
\ No newline at end of file
import turtle
a=turtle.Pen()
b=turtle.Screen()
b.bgcolor("red")
a.pencolor("yellow")
c=b.textinput("提示","新年祝福语")
a.write(c,font=("Times",50,"normal"))
turtle.done()
\ No newline at end of file
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
# 请用input()实现用户输入账号、密码的功能
# 如果用户输入的账号、密码正确,提示登陆成功
\ 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