String slicing and indexing in python

What is slicing and indexing in python? To understand string slicing and indexing let’s first understand what is the definition of string? So basically the String is a sequence of characters which consists of letters, numbers, symbols and white spaces. Now since strings is a sequence. In python we have a provision, using which we can … Read more String slicing and indexing in python

String concatenation and replication in python

Introduction to strings in python: String is a sequence of characters which includes letters, numbers and symbols like punctuation marks etc. In simple words string is the data in text format. Strings data type also contains white spaces in it. Text data is one of the mostly used data type in our day to day … Read more String concatenation and replication in python