Functions


#1

Having trouble with the listed code below :Please correct me


#2

Hi @salla123,

See the message in the output console. You have an IndentationError on line 6.

For everything from line 6 onward, the indentation needs to be corrected.

The indentation of the else block header must match that of the if block header. Indentation of the return statements within the if and else blocks must be increased beyond the indentation levels of the headers of those blocks.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.