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 हटाता है।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad