Infomax Computer Academy
Report Bug
Qus : If wd="Hello World" then which of the following statements will display last five characters of the string object?
QusIf wd="Hello World" then which of the following statements will display last five characters of the string object?
A. wd[4:]
B. wd[:4]
C. wd[-5:]
D. wd[:-4]
Solution
C. wd[-5:]
Report Bug
Select Reason
Wrong Question
Wrong Translation
Out of Topic
Wrong Answer
Question and Option not visible
Formatting Issues
Hindi Version Not Available
Explanation Required
Others