Commit 6c181be8 by BellCodeEditor

save project

parent 418bc585
Showing with 28 additions and 5 deletions
for i in range(1,10): a=1
for j in range(1,i+1): for i in range(10):
print(j,"*",i,"=",(i*j),end=" ") print(a)
print() a+=1
\ No newline at end of file a=a*2
\ No newline at end of file
import turtle
pen=turtle.Turtle()
pen.color('sienna')
w = turtle.Screen()
w.bgcolor('wheat')
pen.left(90)
pen.up()
pen.backward(150)
pen.down()
pen.forward(150)
pen.right(30)
pen.forward(50)
pen.forward(-50)
pen.left(60)
pen.forward(50)
pen.forward(-50)
pen.right(30)
pen.forward(-150)
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