Python-Quizzes | Python List Quiz | Question 10
Question 10: Find the output of the following program:
Explanation: In python, we can slice a list but we can also slice an element within the list if it is a string. The declaration list[x][y] will mean that ‘x’ is the index of the element within a list and ‘y’ is the index of an entity within that string.
Quiz of this Question