Q. From the string S = "CARPE DIEM", which ranges return "DIE" and "CAR"?


You can understand by Watching video :-



Answer =

S[6:9] :- “DIE”
S[:3] :-  “CAR”

Post a Comment

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

Previous Post Next Post