17.List slicing - Incorrect code but lesson is validated



Has anyone a logical explanation for the following 2 situations:




when this is the correct code:



Hi @corinaa,

Codecademy uses a submission correctness test (SCT) that is specific to each exercise to evaluate the user's code. For this exercise, the SCT malfunctions if the user changes the value of the garbled variable. It bases what it considers to be the correct answer on the details of how the final value of the garbled variable relates to the final value of the message variable.



I appreciate your prompt answer.

Thank you!