0

What is wrong with my code??

from turtle import colormode(255) color(0.255.0) width(1) speed(0) screensize(bg = "black") leng = 5 for i in range(500) leng += 1 for j in range(4); forward (leng) left(90) left(2) exitonclick()

3rd Oct 2022, 2:07 PM
MAKC
MAKC - avatar
1 Answer
+ 1
in the inner for-loop you have ";" instead of ":" and the subsequent code block isn't indented correctly.
3rd Oct 2022, 2:17 PM
Lisa
Lisa - avatar