Q. What's a[1 : 1] if a is a string of at least two characters? And what if string is shorter?


You can understand by Watching video :-




Answer =

a[1:1] will print blank list.
Whenever
if list is shorter then  it will print blank list.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post