Commit b09cbc72 by BellCodeEditor

auto save

parent f9b6bca9
#
# name="xxq"
# mima="1234"
#while True:
#判断i>0
#n1=“输入用户名”
#m2=“输入密码”
#判断是否输入正确的账户和密码
\ No newline at end of file
import random
a=["w",'c','wwtd','dd','aa','xx']
a[]
\ No newline at end of file
...@@ -2,9 +2,20 @@ ...@@ -2,9 +2,20 @@
import turtle import turtle
pen= turtle.Pen() pen= turtle.Pen()
size=textinput("提示","你想要多大的魔法阵呀?") screen=turtle.Screen()
pen.circle(size) size=screen.textinput("提示","你想要多大的魔法阵呀?")
pen.circle(size,360,3) s=int(size)
pen.circle(size,60) pen.pensize(10)
pen.circle(size,360,3) pen.penup()
pen.goto(100,-100)
pen.pencolor("gold")
pen.fillcolor("pink")
pen.pendown()
pen.begin_fill()
pen.circle(s)
pen.circle(s,360,3)
pen.circle(s,60)
pen.circle(s,360,3)
pen.end_fill()
pen.hideturtle()
turtle.done() turtle.done()
yhm="xxq"
yhmm="0898"
while True:
srn=input('请输入账户名:')
srmm=input('请输入密码:')
if yhm == srn and yhmm==srmm:
print("登陆成功")
break
if yhm != srn:
print("用户名错误")
continue
if yhmm != srmm:
print("密码错误")
a=["华雄"]
#insert添加关羽在华雄前面
#append在末尾添加文丑
#extend添加一个列表,列表包含王宗扬wzy、余儒喆yrz、杨国靖ygj、陈夷行cyx
\ 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