From c25f176076fadfd747375b3ba833ca0723c342c3 Mon Sep 17 00:00:00 2001 From: Priyanka Debnath <109039615+priks22@users.noreply.github.com> Date: Fri, 7 Oct 2022 08:08:03 +0530 Subject: [PATCH] Create SpiralDesign.py --- SpiralDesign.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 SpiralDesign.py diff --git a/SpiralDesign.py b/SpiralDesign.py new file mode 100644 index 0000000..8933ce0 --- /dev/null +++ b/SpiralDesign.py @@ -0,0 +1,11 @@ +import turtle as t +t.bgcolor('black') +t.color('red') +t.speed(0) +for i in range(270): + t.forward(i) + t.right(130) + t.setpos(0 , 0) + t.right(120) + t.forward(i) + t.right(120)