

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following would give "Harry" as output? Given str1="Mary,Harry,John,Sam" |
A. | str1[4:9] |
B. | str1[5:10] |
C. | str1[4:10] |
D. | str1[5:9] |
E. | |
Answer» C. str1[4:10] | |