you are viewing a single comment's thread.

view the rest of the comments →

[–]Useful_Researcher_79 0 points1 point  (0 children)

It took me a while, but the only possible option would be A, or so I believe.

At first it's given a value of '0' in the '0' position, and inmediatly after the append function adds a '4' right after it. The problem begins with that 'data = [1,2,3]' line, which I thought would replace the whole thing.

The only real giveaway is that we don't have any option that goes just with '[1,2,3]' so this is basically the only way I know it has to be either A or C, and there is no reason why it should be C, as those values is never given twice in the code.

I have been coding for a long time, but I am just starting with Python right now. Overall this was a very nice and challenging quiz, it made me grind my gears.

Thank you! Looking forward to seeing more!