Commit 53148eb8 by BellCodeEditor

save project

parent 848c8683
#circle(半径,夹角)
import turtle
Pen=turtle.Pen()
Pen.fillcolor("red")
Pen.begin_fill()
Pen.color("red")
Pen.left(45)
Pen.forward(100)
Pen.circle(50,180)
Pen.right(90)
Pen.circle(50,180)
Pen.forward(100)
Pen.end_fill()
Pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
Pen=turtle.Pen()
Pen.penup()
Pen.goto(-100,100)
Pen.color("blue")
Pen.pendown()
for i in range(4):
Pen.forward(200)
Pen.right(90)
Pen.begin_fill()
Pen.penup()
Pen.goto(0,-50)
Pen.pendown()
Pen.circle(50)
Pen.end_fill()
Pen.hideturtle()
turtle.done()
\ No newline at end of file
for i in range(4):
Pen.forward(200)
Pen.left(90)
turtle.done()
q=input("爸爸的身高")
w=input("妈妈的身高")
e=input("输入性别")
q=float(q)
w=float(w)
e=float(e)
a=(q+w+13*e)/2
print(a)
\ No newline at end of file
......@@ -11,7 +11,7 @@ for i in message:
text =str1+str2+str3
key_message =key_message + text
list_message=list(key_message)
list_message.insert(random.randint(0,len(list_message)),hffuefhyeguhshjjgcgh)
list_message.insert(random.randint(0,len(list_message)),hffugcgh)
resust_message=""join(list_message)
print(key_message)
# 请使用key_massage私钥key,对message进行加密
\ No newline at end of file
import turtle
Pen=turtle.Pen()
Pen.color("red")
for i in range(4):
Pen.forward(200)
Pen.right(90)
Pen.penup
Pen.goto(100,0)
Pen.pendown()
Pen.right(45)
for i in range(4)
Pen.forward(200)
Pen.right45
Pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
Pen=turtle.Pen()
Pen.clear
Pen.color("black")
Pen.fillcolor("black")
Pen.begin_fill()
for i in range(4):
Pen.forward(100)
Pen.right(90)
Pen.end_fill()
Pen.right(90)
for i in range(4):
Pen.forward(100)
Pen.right(90)
Pen.right(90)
Pen.begin_fill()
for i in range(4):
Pen.forward(100)
Pen.right(90)
Pen.end_fill()
Pen.right(90)
for i in range(4):
Pen.forward(100)
Pen.right(90)
Pen.right(90)
Pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
Pen=turtle.Pen()
Pen.color("yellow")
Pen.fillcolor("yellow")
Pen.begin_fill()
Pen.penup()
Pen.goto(-300,0)
Pen.pendown()
Pen.left(90)
Pen.forward(300)
Pen.right(90)
Pen.forward(300)
Pen.right(135)
Pen.forward(425)
Pen.end_fill()
Pen.color("red")
Pen.fillcolor("red")
Pen.begin_fill()
Pen.left(135)
Pen.forward(300)
Pen.left(90)
Pen.forward(300)
Pen.end_fill()
Pen.hideturtle()
turtle.done()
s.pop("op")
\ No newline at end of file
turtle.circle
for i in range(6):
circle.forower(100)
circle.right(60)
\ No newline at end of file
p=int(imput("输入数字"))
o=p//100
i=p%100//10
u=p%100%10
print("百"+str(o)+"十"+str(i)+"个"+str(p))
\ No newline at end of file
r=int(imput("输入数字"))
m=s%60
h=m%60
print(str(s),str(m),str(h))
\ No newline at end of file
print(type(3))
q=2
w=;print(q)
q=5
print(q**w-w/2*10)
\ No newline at end of file
v=input("乌龟的速度")
a=100/int(v)
print(a)
import turtle
Pen=turtle.Pen()
Pen.color("red")
Pen.penup()
Pen.goto(-100,100)
Pen.pendown()
for i in range(4):
Pen.forward(200)
Pen.right(90)
Pen.fillcolor("red")
Pen.begin_fill()
Pen.penup()
Pen.goto(40,-10)
Pen.pendown()
Pen.circle(10)
Pen.end_fill()
Pen.fillcolor("red")
Pen.begin_fill()
Pen.penup()
Pen.goto(-40,-10)
Pen.pendown()
Pen.circle(10)
Pen.end_fill()
Pen.fillcolor("red")
Pen.begin_fill()
Pen.penup()
Pen.goto(0,-10)
Pen.pendown()
Pen.circle(10)
Pen.end_fill()
Pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
Pen=turtle.Pen()
Pen.color("red")
for i in range(5):
Pen.forward(200)
Pen.right(144)
Pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
Pen=turtle.Pen()
Pen.forward(200)
Pen.right(90)
Pen.forward(100)
Pen.right(90)
Pen.forward(100)
Pen.right(90)
Pen.forward(100)
Pen.right(-90)
Pen.forward(100)
Pen.right(-90)
Pen.forward(100)
Pen.right(-90)
Pen.forward(100)
\ No newline at end of file
import turtle
Pen=turtle.Pen()
q=input("边长")
w=input("边长的数量")
for i in (w):
Pen.forward(str(q))
Pen.left(360/str(w))
Pen.hideturtle()
turtle.done()
\ No newline at end of file
import.randon
x=input("叫什么")
op=["手机","金子","谢谢","鬼"]
z=randon.choice(op)
print(x+"获取了"+z)
\ No newline at end of file
x1="11"
x2="12"
x3=x1+x2
print(x3)
x4=int(x1)+int(x2)
print(x4)
\ No newline at end of file
x=screen.tnextinput("名字")
z=screen.tnextinput("分数")
print(x+"的英语成绩:"+z)
\ No newline at end of file
a=int(input("长"))#询问长
d=int(input("宽"))#询问宽
s=a*d#计算面积
print("面积是"+str(s))#输出
i=input("你的身高")
o=input("你的体重")
print(i*o)
import turtle
Pen=turtle.Pen()
Pen.fillcolor("red")
Pen.begin_fill("red")
Pen.color()
for i in range(5):
Pen.forward(200)
Pen.right(144)
Pen.end_fill()
Pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
Pen=turtle.Pen()
Pen.fillcolor("red")
Pen.begin_fill()
Pen.color("red")
for i in range(5):
Pen.forward(200)
Pen.left(144)
Pen.end_fill()
turtle.done()
import turtle
Pen=turtle.Pen()
Pen.color("yellow")
Pen.fillcolor("yellow")
Pen.begin_fill()
Pen.circle(40,180)
Pen.left(90)
Pen.forward(80)
Pen.end_fill()
Pen.color("red")
Pen.fillcolor("red")
Pen.begin_fill()
Pen.left(-90)
Pen.circle(-40,180)
Pen.left(-90)
Pen.forward(80)
Pen.end_fill()
Pen.up()
Pen.down
Pen.goto(-40,120)
Pen.color("yellow")
Pen.fillcolor("yellow")
Pen.begin_fill()
Pen.circle(40,180)
Pen.left(90)
Pen.forward(80)
Pen.end_fill()
Pen.color("red")
Pen.fillcolor("red")
Pen.begin_fill()
Pen.left(-90)
Pen.circle(-40,180)
Pen.left(-90)
Pen.forward(80)
Pen.end_fill()
Pen.up()
Pen.goto(80,160)
Pen.down
Pen.color("yellow")
Pen.fillcolor("yellow")
Pen.begin_fill()
Pen.circle(40,180)
Pen.left(90)
Pen.forward(80)
Pen.end_fill()
Pen.color("red")
Pen.fillcolor("red")
Pen.begin_fill()
Pen.left(-90)
Pen.circle(-40,180)
Pen.left(-90)
Pen.forward(80)
Pen.end_fill()
Pen.up()
Pen.goto(120,40)
Pen.down
Pen.color("yellow")
Pen.fillcolor("yellow")
Pen.begin_fill()
Pen.circle(40,180)
Pen.left(90)
Pen.forward(80)
Pen.end_fill()
Pen.color("red")
Pen.fillcolor("red")
Pen.begin_fill()
Pen.left(-90)
Pen.circle(-40,180)
Pen.left(-90)
Pen.forward(80)
Pen.end_fill()
Pen.hideturtle()
turtle.done()
\ No newline at end of file
x=input("星期几")
if x=="星期三":
print("编程")
elif x=="星期一"
print("钢琴")
elif x=="星期六"
print("英语")
else:
print("国学")
import turtle
import turtle
Pen=turtle.Pen()
Pen.color("red")
for i in range(4):金虎送福接电话精神上的就发货时间发货康师傅进度计划决定是否就是副驾驶的金山毒霸缴费基数分书谁都不发顺丰快递回复大家是否觉得房价圣诞节开发商对符合设计是否是世界上据了解了解了解了解,你,你们
Pen.forward(200)
Pen.right(90)
Pen.hideturtle()
turtle.done()
\ 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