Which of the following function removes all leading and trailing whitespace in string?

Category: PythonWhich of the following function removes all leading and trailing whitespace in string?
Editor">Editor Staff asked 2 years ago

Which of the following function removes all leading and trailing whitespace in string?
A – replace(old, new [, max])
B – strip([chars])
C – swapcase()
D – title()

1 Answers
Editor">Editor Staff answered 2 years ago