Commit bbf9d196 by BellCodeEditor

save project

parent 27593c35
import turtle
screen=turtle.Screen()
screen.textinput("姓名框","你的名字是:")
turtle.done()
\ No newline at end of file
...@@ -5,7 +5,7 @@ screen.bgcolor("light blue") ...@@ -5,7 +5,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal")) pen.write("你好\nfrfngyuhfyktgjhde89vokjhdu0fokg.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
pen.penup() pen.penup()
......
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
len=50 len1=screen.textinput("提示:","**你要多大的爱心?")
len=int(len1)
screen.bgcolor("blue") screen.bgcolor("blue")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
...@@ -52,3 +53,34 @@ turtle.done() ...@@ -52,3 +53,34 @@ turtle.done()
username = "python"
userpassward = "123456"
name=input("请输入账号:")
ward=input("请输入密码:")
if name==username and ward==userpassward:
print("登录成功")
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