Commit c3ecdd8b by BellCodeEditor

auto save

parent ac795495
import turtle
pen=turtle.Pen()
pen.speed(-10000000000000000000000000000000000000000000000000000)
colors=['green','red','orange','blue']
a=1
for i in range(30000000000000000000000000000000000000000000000000):
pen.pencolor(colors[i%4])
pen.forward(a)
pen.left(91)
a=a+0.1
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.speed(-1100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
a=1
for i in range(3000000000000000000000000000000000000000000000000000000000000000000):
pen.forward(a)
pen.left(91)
a=a+0.1
turtle.done()
\ No newline at end of file
a=int(input('请输入第一个数'))
b=int(input('请输入第二个数'))
c=int(input('请输入第三个数'))
print(a*b)
print(a/b)
print((a+b)*c)
d=a*b*c
print(d,'立方厘米')
print(a/2+8)
\ No newline at end of file
a=int(input("乌龟速度"))
e=100/a
print("乌龟需要多少时间":s)
class Cat: n=int(input("乌龟速度"))
def __init__(self): e=int(input("请输入本子的单价"))
self.footNum = 4 # 腿 w=int(input("请输入本子的数量"))
self.eyeNum = 2 # 眼睛 g=e*w
self.head = 1 # 头 if n>=g:
self.earsNum = 2 # 耳朵 r=n-g
self.skin = "black" print("True")
if n<g:
def run(self): print("False")
print("小猫飞快的跑起来")
def skill():
??
role = Cat()
role.skill("老鼠")
\ No newline at end of file
import turtle
turtle.color("red")
turtle.begin_fill()
turtle.penup()
turtle.goto(-150,150)
turtle.pendown()
turtle.forward(50)
turtle.right(90)
turtle.forward(400)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(400)
turtle.right(90)
turtle.end_fill()
turtle.color("red")
turtle.begin_fill()
turtle.penup()
turtle.goto(100,150)
turtle.pendown()
turtle.forward(50)
turtle.right(90)
turtle.forward(400)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(400)
turtle.right(90)
turtle.end_fill()
turtle.color("red")
turtle.begin_fill()
turtle.penup()
turtle.goto(-100,250)
turtle.pendown()
turtle.forward(200)
turtle.right(90)
turtle.forward(50)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(50)
turtle.end_fill()
turtle.goto(-100,200)
turtle.color("black")
turtle.begin_fill()
turtle.write(" 恭喜发财",font=('Times',30,'normal'))
turtle.end_fill()
turtle.color("black")
turtle.begin_fill()
turtle.wirte("",font)
turtle.done()
a={'语文':90,'数学':15,'英语':15}
b={'语文':10,'数学':10,'英语':10}
c={'语文':100,'数学':100,'英语':100}
l={'小贝':a,'悟空':b,'诺伊':c}
name=input('谁?')
if name in l():
info=l[name]
for i,j in info.items():
print('*'*15)
print(i,j)
else:
input('没有这人')
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