In the following exercise my code is correct but i seem to always have an issue with the indentation. Where the answer is not displayed correctly on the console. For instance in the following code…
e = 
for l in lis:
if l % 2 == 0:
Only  will show up on the console, but when i move “return” to the left, the code functions perfectly, and all the even numbers are displayed on the console.
If someone could elaborate as to why this occurs i would really appreciate it.
thx in advance