How to strip a list in Python? Subash Chandran 13th October 2021 Leave a Comment list1 = ["a ", " b ", " c"] [i.strip() for i in list1] # ['a', 'b', 'c'] Curly hair, very fair, please share 🙂Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Reddit (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to email a link to a friend (Opens in new window) Related See also How to create multidimensional array in Python using numpy? Snippets .strip(list), apply strip to a list python, how to strip a list in python, list elements strip in python, list strip python 3, list.strip() python, python list strip, python strip all string in list, python strip elements in list, python strip from list, python strip items from a list, python strip list, strip '' from list in python, strip from list python, strip list items python, strip list of strings python, strip list python, strip on list Change font size A Decrease font size. A Reset font size. A Increase font size.