Indentation is essential in Python.
Hi @pkarthicbz ,
Because the code that you posted is not formatted, it is difficult for other users to read and understand it. After code has been pasted into the editing window for posting, you can format it by selecting it, and then by clicking the </> button above the editing area. Alternatively, you can place three backquotes on the line before the code and three backquotes on the line after the code. This will enable us to see important details, such as the indentation and underscores. If you use the backquotes, your code will be color-coded, making it especially easy to read.
Hi @likesobritney ,
See what @ionatan has said, then correct the indentation of your
return statement, accordingly.