Examveda

What is the purpose of the strip() method for strings?

A. Removes leading and trailing whitespace

B. Converts a string to uppercase

C. Converts a string to lowercase

D. Adds whitespace to the end

Answer: Option A


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python