Commit 6d55039a by BellCodeEditor

save project

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