Python String Exercise
Basic String Programs
- Check if string is symmetrical or palindrome
- Length of String
- Reverse words in a String
- Remove Letters From a Stringe
- Avoid Spaces in string length
- Print even-length words in string
- Uppercase Half String
- Capitalize first and last character of each word
- Check if string has a letter and number
- Accept strings containing all vowels
- Count number of matching characters in a pair of string
- Count number of vowels using sets
- Remove duplicates from a string
- Least Frequent Character
- Maximum frequency character
- Odd Frequency Characters
- Specific Characters Frequency
- Frequency of numbers
- Check if a string contains any special character
- Generating random strings until a given string is generated
- Find words which are greater than length k
- For removing ith character from a string
- Split and join
- Check if a given string is binary string or not
- Find all close matches of input string from a list
- Find uncommon words from two Strings
- Swap commas and dots in a String
- Permutation of a string using inbuilt function
- Check for URL in a String
- Execute a String of Code
- Print middle character of a String
- Convert integer to string
- Convert String to Int
- Split string into list of Characters
- Convert a List to String
- Convert String to a list
- Remove Letters from a String
- Convert a list of Characters into String
- Convert Object to String
- Sort a list of strings
- Convert tuple to string
- Check if String is Empty or not
- Convert String to Set
- Convert Set to String
- Generate possible valid IP addresses from given string
- Check and display vowels
Basic Practice Programs
- Repeat the Strings
- String Function
- Convert String to LowerCase
- Reverse String
- Check Palindrome
- Find Pattern
- Decimal number to binary number
- Binary number to decimal number
- Reverse Words
- Palindrome String
- Slice The String
- Change Case
- Print Alphabets
Advance String Programs
- Convert numeric words to numbers
- Word location in String
- Consecutive characters frequency
- Rotate a string
- Check if a string can become empty by recursive deletion
- Minimum number of rotations to obtain a string
- Words Frequency in String Shorthands
- Successive Characters Frequency
- Sort String by K frequency
- Convert Snake case to Pascal case
- Avoid Last occurrence of delimitter
- Character position of Kth word
- Right and Left Shift characters
- Exceptional Split
- Split String on vowels
- Mirror Image of String
- Replace multiple words with K
- Replace Different characters in String at Once
- Multiple indices Replace
- Remove multiple empty spaces
- Remove punctuation
- Similar characters Strings comparison
- Remove K length Duplicates
- Remove suffix
- Find all duplicate characters
- Replace duplicate Occurrence
- Convert string to dictionary
- Check if two strings are Rotationally Equivalent
- Test if string is subset of another
- Generate Random binary string
- Convert binary to string
- Reverse Sort a String
- Remove special characters
- Check validity of a Password
- Add padding
- Print Superscript and Subscript
- Convert binary to String
- Check if a string is pangram
- Sort a list
- Convert Image to String and vice-versa
- Iter Over words of a String
- Convert case of elements in a list of Strings
- Sort list of dates given as Strings
- Pad or fill a string by a variable using f-string
- Convert string to DateTime and vice-versa
- Index and Slice Strings
- Split string in groups of n consecutive characters
Programs on SubString
- Check if a Substring is Present
- Substring presence
- Substrings Frequency
- Maximum Consecutive Substring Occurrence
- Maximum occurring Substring
- Possible Substring count
- Replace all occurrences of a substring
- Longest Substring Length of K
- Extract Indices of substring matches
- Split by repeating substring
- Remove substring list
- Remove after substring
- Remove Redundant Substrings
- Test substring order
- String till Substring
- Filter Strings combination of K substrings