Report Bug

QusWhat does the strip() method do in Python? Qusपायथन में स्ट्रिप() विधि क्या करती है?


A. Removes all spaces from the string.
B. Removes the first and last character of the string.
C. Removes whitespace from the beginning and end of the string.
D. Converts the string into a list of characters.


Solution
C. Removes whitespace from the beginning and end of the string.



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad