Commit 8b1dd071 by BellCodeEditor

save project

parent f815a88b
Showing with 7 additions and 13 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
colors=["red","orange","yellow","green"]
for i in range(1,500):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
\ No newline at end of file
file=open(r'C:\Users\makcoo\Desktop\test.txt','w',encoding='utf-8')
\ No newline at end of file
i=3#行
i=3#行
for j in range(1,10):#列
print(j,'*',i,'=',(j*i),sep="",end=(" "))
\ 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