Report Bug
Qus : Which function removes whitespaces from both ends?
Qusदोनों ends से whitespace हटाने वाला function कौन-सा है?

A. strip()
B. lstrip()
C. rstrip()
D. trim()


Solution
A. strip()



Explanation
strip() removes leading and trailing whitespace.

strip() string के शुरुआत और अंत दोनों से whitespace हटाता है।



Report Bug