Similar Collections


Solve Python String exercises to learn and practice String operations and manipulations.

questions

Title
Write a python program to create a new string made of an input string’s first, middle, and last character.
Write a python program to create a new string made of the middle three characters of an input string.
Append new string in the middle of a given string using python programming
Create a new string made of the first, middle, and last characters of each input string using python programming
Arrange string characters such that lowercase letters should come first using python programming
Count all letters, digits, and special symbols from a given string using python programming
Create a mixed String using the following rules using python programming
Write a python program to check if two strings are balanced.
Write a python program to find all occurrences of “USA” in a given string ignoring the case.
Calculate the sum and average of the digits present in a string using python programming
Write a python program to count occurrences of all characters within a string
Reverse a given string using python programming
Write a python program to find the last position of a substring “Emma” in a given string.
Write a python program to split a given string on hyphens and display each substring.
Remove empty strings from a list of strings using python programming
Remove special symbols / punctuation from a string using python programming
Removal all characters from a string except integers using python programming
Write a python program to find words with both alphabets and numbers from an input string.
Replace each special symbol with # in the following string using python programming
total questions: 19

Questions

19

Views

613

Best Answers

299

Points

5