Examveda

Which method is used to remove leading and trailing whitespace from a string?

A. strip()

B. trim()

C. whitespace()

D. clean()

Answer: Option C


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python