0 votes
in Technology by (326k points)

How will you remove all leading and trailing whitespace in string?

1 Answer

0 votes
by (326k points)

strip([chars]) − Performs both lstrip() and rstrip() on string.

...