Predict the output of the following statements:
S. No.
Statement
Output:
print(str[1:6])
Answers
Answered by
0
the output is : 1,2,3,4,5 .
it is known as string slicing.
Similar questions