Report Bug

QusIf 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:]



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad