What will this python code do?
from turtle import * color("lime")
for i in range(1): forward(200) left(90) color("red")
for i in range(1): forward(200) left(90) color("blue")
for i in range(1): forward(200) left(90) color("orange")
for i in range(1): forward(200) left(90) color("purple")
for i in range(1): forward(200) left(90) color("pink")
for i in range(1): forward(200) left(90) color("yellow")
for i in range(1): forward(200) left(90) color("black")
for i in range(1): forward(200) left(90) color("lime")
for i in range(1): forward(200) left(90) color("red")
for i in range(1): forward(200) left(90) color("blue")
for i in range(1): forward(200) left(90) color("orange")
for i in range(1): forward(200) left(90) color("purple")
for i in range(1): forward(200) left(90) color("pink")
for i in range(1): forward(200) left(90) color("yellow")
for i in range(1): forward(200) left(90) color("black")
for i in range(1): forward(200) left(90)
print("All hail the Rainbow square")
from turtle import * color("lime")
for i in range(1): forward(200) left(90) color("red")
for i in range(1): forward(200) left(90) color("blue")
for i in range(1): forward(200) left(90) color("orange")
for i in range(1): forward(200) left(90) color("purple")
for i in range(1): forward(200) left(90) color("pink")
for i in range(1): forward(200) left(90) color("yellow")
for i in range(1): forward(200) left(90) color("black")
for i in range(1): forward(200) left(90) color("lime")
for i in range(1): forward(200) left(90) color("red")
for i in range(1): forward(200) left(90) color("blue")
for i in range(1): forward(200) left(90) color("orange")
for i in range(1): forward(200) left(90) color("purple")
for i in range(1): forward(200) left(90) color("pink")
for i in range(1): forward(200) left(90) color("yellow")
for i in range(1): forward(200) left(90) color("black")
for i in range(1): forward(200) left(90)
bye()
print("There are 1209600 in a Fortnight")
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!