Try This

<br />
import turtle</p>
<p>def spiral (sides):<br />
t=turtle.Turtle()<br />
t.color (“teal”)<br />
t.speed(1000)<br />
for n in range(1000):<br />
t.forward(n)<br />
t.left(45)<br />
print “Hello World”<br />
spiral (200)<br />

Run


 

 

Advertisements