Commit c8e7721e by BellCodeEditor

save project

parent 92c5778a
Showing with 30 additions and 19 deletions
import turtle
pen=turtle.Pen()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.left(90)
pen.circle(50,180)
pen.right(90)
pen.circle(90,180)
pen.forward(100)
screen=turtle.Screen()
screen.bgcolor("red")
pen.penup()
pen.goto(-100,200)
pen.write("你\n\n呀",font=("Times",20,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
# def sj():
# for i in range(6):
# pen.forward(100)
# pen.right(60)
#sj()
# pen.write("诺依,\n真好用。",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
\ No newline at end of file
a=input("y=2,请问x=")
if x<=0:
y=x+1
elif 0<x<3:
y=x**2+1
else:
y=6/x
print(y)
a=input("y=2,请问x=")
if x<=0:
y=x+1
elif 0<x<3:
y=x**2+1
else:
y=6/x
print(y)
\ No newline at end of file
for i in range(1,3,-2)
print()
\ 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