Commit 5184c892 by BellCodeEditor

auto save

parent 1507123a
Showing with 7 additions and 21 deletions
import turtle N=int(input())
pen=turtle.Pen() M=int(input())
screen=turtle.Screen() for i in range(N,M+1):
screen.bgcolor("blue") if i%7==0 and i%5!=0:
pen.penup() print(i,end=",")
pen.goto(100,-100)
pen.write("你好呀!\n诺伊\n我会用turtle模块了",font=("Times",30,"normal")) \ No newline at end of file
pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(5)
pen1.pencolor("red")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
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