Skip to content

Lesson 5 Practice 2: Drawing Multiple Squares #1078

Open
@LbZ7777777

Description

@LbZ7777777

Describe the bug
The practice accepts a solution that draws infinite squares as correct.

To Reproduce
I used the following function in the practice problem.

func draw_three_squares():
var count : int = 0
while count < 3:
draw_square()
jump(300, 300)
# count += 1

Expected behavior
When I forgot to increment my counting variable, I expected to fail the lesson, but it passed me.

Information about your device (please complete the following information):

  • Operating System: Windows
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions