I am trying to submit a turtle program in codio, but the autograder keeps telling me I am missing indentations in my function definition section. My program works perfectly in other IDE's like repl.it and VScode. Codio is basically saying that everything needs to be indented 1 more, but if I do that it will break.

Here is a section of my code. The indentation is the same throughout all of my functions:

def triangle(size):
    for _i in range(3):
    bby.forward(size)
    bby.rt(120)

def rectangle(size):
  for _i in range(2):
    bby.forward(size*2)
    bby.rt(90)
    bby.forward(size)
    bby.rt(90)
0

There are 0 best solutions below