Commit 13685e3e by BellCodeEditor

save project

parent a1599e0b
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
size=screen.textinput("提示","你想要多大的魔法阵?")
pen.circle(int(size),360)
pen.circle(int(size),360,3)
pen.circle(int(size),60)
pen.circle(int(size),360,3)
turtle.done()
\ No newline at end of file
num=0
while num<20:
if num%2==1:
print(num)
num+=1
\ No newline at end of file
name=input("请输入名字")
CJ=input("请输入成绩")
print(name+"的英语成绩是:"+CJ)
\ No newline at end of file
count=0
while True:
print("count的值为:"+str(count))
if count==5:
continue
if count==10:
break
count+=1
print("c程序结束")
\ No newline at end of file
usename="fhhhb"
usemima="we are dsb"
import tist
import random
usename="123"
usemima="abc"
cishu=3
while True:
if cishu==0:
......@@ -7,27 +10,14 @@ while True:
exit()
name=input("请输入账户名:")
mima=input("请输入密码:")
print(tist.yzm)
yz=input("请输入验证码")
if usename==name and usemima==mima:
if usename==name and usemima==mima and yz==tist.yzm:
print("登陆成功")
print("-"*30)
break
if usename!=name and usemima==mima:
print("账户名错误❌")
print("登陆失败")
print("-"*30)
cishu=cishu-1
if usemima!=mima and usename==name:
print("密码错误❌")
print("登陆失败")
print("-"*30)
cishu=cishu-1
else:
print("账户和密码错误❌")
print("登陆失败")
print("-"*30)
cishu=cishu-1
print("欢迎来到对抗路")
a="冯慧恒"
b=",男"
c=",12"
d=",喜欢玩手机"
print(a+b+c+d)
\ No newline at end of file
count=0
while True:
print("count的值为:"+str(count))
if count==5:
break
if count==10:
continue
count+=1
print("程序结束")
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.left(45)
pen.circle(50,180)
pen.left(90)
pen.forward(100)
pen.left(180)
pen.circle(-50,180)
pen.right(90)
pen.forward(100)
i=10
for i in range(300):
pen.forward(i)
pen.right(91)
i+=2
turtle.done()
\ No newline at end of file
import random
yzm=""
random_list=["1","2","3","4","5","6","7","8","9","a","b","c","d","e"]
for i in range(4):
random_str=random.choice(random_list)
yzm=yzm+random_str
print(yzm)
\ No newline at end of file
......@@ -18,14 +18,11 @@ pen.penup()
pen.forward(30)
pen.left(90)
pen.forward(50)
pen.pendown()
pen.pencolor("green")
pen.circle(50,360)
pen.penup()
pen.forward(90)
pen.pendown()
pen.pencolor("yellow")
pen.circle(50,360)
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
i=1
while True:
for i in range(4):
forward(i)
turtle.done()
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