Answer to Question list-7

It does not make sense. The left-hand operand of the : operator must be an integer and the right-hand operand must be a list.

(This applies to lists of integers, which is all that we are looking at here. For a list of strings, the left-hand operand of : would be a string and the right-hand operand would be a list of strings.)