what is the means of traverse
Answers
Answered by
1
Explanation:
kjsjsjsjsjsjsjsjsjsjsjsjsjsjksjsks
akashsinha43:
kzsoksmdkf
Answered by
1
Answer:
Iterate over string with index using range()
range(len (stringObj) ) function will generate the sequence from 0 to n -1 ( n is size of string) . Now iterate over this sequence and for each index access the character from string using operator [] i.e.Iterate over string with index using range()
Similar questions