Commit 95ccb978 by BellCodeEditor

save project

parent 93ccad98
Showing with 8 additions and 5 deletions
import turtle
# pen=turtle.Pen()
# pen.write("1*1=2\n1*2=2 2*2=4\n1*3=3 2*3=6 3*3=9\n1*4=4 2*4=8 3*4=12 4*4=16\n1*5=5 2*5=10 3*5=15 4*5=20 5*5=25\n1*6=6 2*6=12 3*6=18 4*6=24 5*6=30 6*6=36\n1*7=7 2*7=14 3*7=21 4*7=28 5*7=35 6*7=42 7*7=49\n",font=("Times",10,"normal"))
# pen.hideturtle()
# turtle.done()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(0,-150)
pen.write("1*1=2\n1*2=2 2*2=4\n1*3=3 2*3=6 3*3=9\n1*4=4 2*4=8 3*4=12 4*4=16\n1*5=5 2*5=10 3*5=15 4*5=20 5*5=25\n1*6=6 2*6=12 3*6=18 4*6=24 5*6=30 6*6=36\n1*7=7 2*7=14 3*7=21 4*7=28 5*7=35 6*7=42 7*7=49\n",font=("Times",10,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("pink")
pen1.pensize(50)
pen1.pensize(15)
pen1.fillcolor("red")
pen1.begin_fill()
pen1.left(45)
......
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