Add new file

This commit is contained in:
Franziska Naja 2022-12-21 18:55:57 +00:00
parent 1365b2cb25
commit 28b11e2cb3

26
Mandala 5 Normal file
View File

@ -0,0 +1,26 @@
## Code mit spazierender Schildkröte
from turtle import *
speed(0)
for i in range (6):
n = 20
while n <= 100:
circle(n+20)
n = n+20
right(60)
done()
## Code für das Erstellen von einer svg Datei
from svg_turtle import SvgTurtle
t = SvgTurtle(1000, 1000)
t.speed(0)
for i in range (6):
n=20
while n <= 100:
t.circle(n+25)
n = n+20
t.right(60)
t.save_as('PyTurtle11.svg')