Q. Which of the following would give "Harry" as output?
Given str1="Mary,Harry,John,Sam"
Given str1="Mary,Harry,John,Sam"
β
Correct Answer: (B)
str1[5:10]
You must be Logged in to update hint/solution