In this Python list program, we will take a user input as a list and remove the 2nd character of each word from the list with the help of the below-given steps.
Remove the 2nd character from words in list:
Steps to solve the program
- Take a list of words as input.
- Use a for loop to iterate over words in the list.
- Remove the 2nd character of each word from the given list using indexing.
- After removing the character add those words to another list.
- Print the list to see the output.
Output :
Related Articles
Python program to get a length of each word and add it as a dictionary from the given list.
Python program to remove duplicate dictionaries from the given list.
Python program to decode a run-length encoded given list.
Python program to round every number in a given list of numbers and print the total sum of the list.
Python Program to get the Median of all the elements from the list.
Python Program to get the Standard deviation of the list element.