indentMessage
def
to define indentMessage
len(<any arguments>)
indentMessage
, call len(<any arguments>)
in exactly one place.printMessage
def
to define printMessage
print(<any arguments>)
printMessage
, call print(<any arguments>)
in at least once place.indentMessage(<any arguments>)
printMessage
, call indentMessage(<any arguments>)
in at least once place.ellipseArea
def
to define ellipseArea
return
statement
ellipseArea
, use return _
in at least once place.polygon
def
to define polygon
polygon
, use a for
or while
loop in at least once place.fd(<any arguments>)
polygon
, call fd(<any arguments>)
or forward(<any arguments>)
in at least once place.polygon
function must maintain invariants for the position
and heading
values
polygon
function must return the position
and heading
values to their initial state before it returns.polygon
function must maintain invariants for the position
and heading
values
polygon
function must return the position
and heading
values to their initial state before it returns.polygon
function must maintain invariants for the position
and heading
values
polygon
function must return the position
and heading
values to their initial state before it returns.polygon
function must maintain invariants for the position
and heading
values
polygon
function must return the position
and heading
values to their initial state before it returns.indentMessage
returns the correct result
indentMessage
function is run must match the solution result.ellipseArea
returns the correct result
ellipseArea
function is run must match the solution result.indentMessage
returns the correct result
indentMessage
function is run must match the solution result.printMessage
prints the correct output
printMessage
function is run must match the solution output.printMessage
uses correct indentation
printMessage
includes the correct number of spaces before the message itself.printMessage
prints the correct output
printMessage
function is run must match the solution output.indentMessage
indentMessage
indentMessage
printMessage
printMessage
printMessage
ellipseArea
ellipseArea
ellipseArea
polygon
polygon
polygon
polygon