What will be the output of the following Python code? myList = [1, 2, 3, 4, 5, 6] for i in range(1, 6): myList[i - 1] = myList[i] for i in range(0, 6): print(myList[i], end = " ")
Select the correct option to test your answer:
Correct Answer: Option C (2 3 4 5 6 6)
Verified correct option for Computer (Lists In Python).