Commit 6d55039a by BellCodeEditor

save project

parent 55e611f3
Showing with 26 additions and 11 deletions
import turtle username = "python"
pen= turtle.Pen() userpassword = "123456"
screen=turtle.Screen()
size=screen.textinput("提示","你想要多大的魔法镇呀?") inusername = input("输入账号")
len=int(size) inuserpassword = input("输入密码")
pen.circle(len)
pen.circle(len,360,3) print(inusername)
pen.circle(len,60) print(inuserpassword )
pen.circle(len,360,3) if inusername == username and inuserpassword == userpassword:
turtle.done() print("登录成功")
\ No newline at end of file else :
print("登录失败")
\ No newline at end of file
bl=input("请输入一个大于0的边长")
b=float(bl)
zc = 4*b
s=b*b
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