Starting from line 9 is my attempt of the exercise and the above is the solution.
My query is regarding the solution,as to why they have not used the return function

Why is my code giving me this error

My line 5 and line 13 is also different why am l wrong

Thank you

Should for be written with a capital? Here is the correct syntax:

for item in objects:

You had For-see the difference?


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