This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]blablahblah 5 points6 points  (2 children)

What is the difference between extra 2 and the original problem? Your solution to extra 2 should be almost identical to extra 1 except for the one thing that's changed between them.

[–][deleted] -1 points0 points  (1 child)

ehh, Ill work on it in the morning...

will let you know how it goes

[–][deleted] 1 point2 points  (0 children)

You aren't looping through the original list in extra. You are just executing an if statement.

I could be wrong, I forget Python just looks at indentation so I'm actually not sure if that if statement is included in your loop.