πŸ“Š Python
Q. What does the strip method do in Python?
  • (A) Removes characters from a string
  • (B) Replaces characters in a string
  • (C) Adds characters to a string
  • (D) Splits a string
πŸ’¬ Discuss
βœ… Correct Answer: (A) Removes characters from a string

Explanation: The strip method removes leading and trailing spaces by default.

Explanation by: Mr. Dubey
The strip method removes leading and trailing spaces by default.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
55
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate