Closed MrInventor closed 2 years ago
Yes, gotta change the practice description, the code doesn't complete the shape as we'd like you to: as the turtle changes direction, it causes subsequent shapes to end up in unintended positions (the second square should be inside the first one). We'll clarify the practice checks and goal.
Describe the bug Leaving out the final turn_right(90) will mark the solution as wrong even though the solution seems correct.
To Reproduce Steps to reproduce the bug:
func draw_square(length): move_forward(length) turn_right(90) move_forward(length) turn_right(90) move_forward(length) turn_right(90) move_forward(length)
Expected behavior The solution is accepted
Screenshots
Information about your device (please complete the following information): Windows 10 and Chrome.