Skip to content

Tag Archives: python-string

Python String rjust() method returns a new string of a given length after substituting a given character on the left side of the original string.… Read More
Python String ljust() method left aligns the string according to the width specified and fills the remaining space of the line with blank space if… Read More
Python String maketrans() function is used to construct the transition table i.e specify the list of characters that need to be replaced in the whole… Read More
Python string is a sequence of Unicode characters that is enclosed in the quotations marks. In this article, we will discuss the in-built function i.e.… Read More
Unicode is also called Universal Character set. ASCII uses 8 bits(1 byte) to represents a character and can have a maximum of 256 (2^8) distinct… Read More
Given a string S consisting of lowercase English alphabets, the task is to print the longest word present in the given string in python. Examples:… Read More
The % symbol is used in Python with a large variety of data types and configurations. %s specifically is used to perform concatenation of strings… Read More
Whenever we are working with formulas there may be a need of writing the given formula in a given format which may require subscripts or… Read More
In this article, we will learn How to Normalizing Textual Data with Python. Let’s discuss some concepts : Textual data ask systematically collected material consisting… Read More
In this article, we will see the difference between %s and %d in Python. Here, we start with the proper explanation of one at a… Read More
In Python, to find the index of a substring in a string can be located by python’s in-built function using find() or index(). Both of… Read More
In this article, we will see how to create multiple copies of a string by using the multiplication operator(*). Python supports certain operations to be… Read More
In this article, we will learn to extract strings in between the quotations using Python. Method 1: To extract strings in between the quotations we… Read More
An unchanging article alludes to the item which is once made can’t change its worth all its lifetime.  Attempt to execute the accompanying code:  Python3… Read More
To store or transfer an Image to some we need to convert it into a string such that the string should portray the image which… Read More

Start Your Coding Journey Now!