Muhammad Yahya
Posted on 5 September 2022
Source code ????????????
import turtle def drawSpiral(how_far, how_much): if how_far > 0: t.forward(how_far) t.right(how_much) drawSpiral(how_far-5, how_much) turtle.Screen().bgcolor("black") t = turtle.Turtle() t.reset() t.pencolor("green") t.pen(speed=10) turtle.delay(10) lenght = 500 turn_by = 121 t.penup() t.setpos(-lenght/2, lenght/2) t.pendown() drawSpiral(lenght, turn_by)
1
26
0
Pakistan
Be like terminal Able to do anything But under the limit
1 Comments
Rizwan Khan
26 September 2022
Thanks for sharing @muhammad