From 6389b62d1f1937a32845320c75e80ea797a61855 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Wed, 17 May 2023 09:29:19 +0800 Subject: [PATCH] save project --- 1.py | 4 ++++ 2.py | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 1.py create mode 100644 2.py diff --git a/1.py b/1.py new file mode 100644 index 0000000..afc64c7 --- /dev/null +++ b/1.py @@ -0,0 +1,4 @@ +for i in range(1,20): + for j in range(1,i+1): + print(j,"*",i,"=",(i*j),end=" ") + print() \ No newline at end of file diff --git a/2.py b/2.py new file mode 100644 index 0000000..d124fa8 --- /dev/null +++ b/2.py @@ -0,0 +1,12 @@ +import turtle +pen=turtle.Pen() +pen.speed(300) +screen=turtle.Screen() +screen.bgcolor("pink") +colors=["red","orange","yellow","green","blue"] +for i in range(1,500): + pen.pencolor(colors[i%5]) + pen.forward(i) + pen.right(145) +pen.hideturtle() +turtle.done() \ No newline at end of file -- libgit2 0.25.0