Python string exercises with solution

Anything enclosed inside the quotation marks is called a string in python. It can be in either single quotes, double quotes, or triple quotes. Strings are immutable however, it supports indexing and slicing in addition to concatenation and repetition. The string has a maximum method compared to other data types. It supports 45 methods in […]