Report Bug

QusWhich of the following python in-built function is used to remove all the leading and trailing spaces from a string. Qusनिम्नलिखित में से कौन सा पायथन इन-बिल्ट फंक्शन एक स्ट्रिंग से सभी लीडिंग और ट्रेलिंग रिक्त स्थान को हटाने के लिए उपयोग किया जाता है।


A. space()
B. strip()
C. remove()
D. None of the above


Solution
B. strip()



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad