Oops
Oops
(23EN1202)
4
Traversing
• A string traversing is done by accessing characters from one index to another.
• The str() function is used to convert values of any other type into string type.
• This helps the programmer to concatenate a string with any other datatype data.
• A raw string literal which is prefixed by an “r” passes all the characters as it is.