Python Quiz #4 What is the output of the following code snippet? A) 10 B) [1, 9, 10, 12] C) [11, 13, 14, 15] D) Error

python_spaces's tweet image. Python Quiz #4 

What is the output of the following code snippet? 

A) 10
B)  [1, 9, 10, 12]
C) [11, 13, 14, 15]
D) Error

How did you end up with the answer?? Can you please explain?


Because I'm idiot hahahaha I make a mistake with the slicing


That's okay. It was the main goal of the quiz. 😉


United States Trends
Loading...

Something went wrong.


Something went wrong.