<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at. The query string (? and beyond) may be truncated.>
Exercise is 12 of 15 - Purify
<In what way does your code behave incorrectly? Include ALL error messages.>
List Index out of Range-Error
" Oops, try again.
Your code looks a bit off–it threw a “list index out of range” error. Check the Hint if you need help!"
<What do you expect to happen instead?>
What I expected to happen was the following (Template-Question): lesson done and get to the next one
for i in numbers:
if (i % 2) == 0:
numbers = [1, 2, 3, 4, 5, 6, 7]
<do not remove the three backticks above> The Code works, i.e., in Geany (a simple Python-IDE) as even as on shell; new list contains the correct Items (2,4,6) Maybe you got a tip for me? What do I do wrong or better: how does codecademy (propz to you by this way for your great works! ;) ) want me to solve the lesson? Thanks, BSA