Computer Science, asked by saherrruu8996, 11 months ago

What do you understand by traversing a string ? Ans. Traversing a string means

Answers

Answered by karansoni0909
2

take digest of navneet or open text book answer will there

Answered by Anonymous
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.

Similar questions