KnowledgeBoat Logo

Computer Science

Which of the following functions removes all leading and trailing spaces from a string?

  1. lstrip()
  2. rstrip()
  3. strip()
  4. all of these

Python String Manipulation

7 Likes

Answer

strip()

Answered By

1 Like


Related Questions