Str Data Type | Indexing | Slicing | Striding - Closer look at python data types

Опубликовано: 21 Октябрь 2024
на канале: EdYoda
275
3

For more courses visit : https://www.edyoda.com/

In this we will take a closer look at python str data type. We will see different ways to define the strings in python. Stings is a ordered sequence of character which support indexing and slicing. We will see how to access individual character using left to right index and right to left index. We will see how to get substring from a string without using loops i.e. slicing. Also how to iterate over a string using loops.