πŸ“Š Python
Q. Which function is used to remove whitespace from the start and end of a string?
  • (A) strip()
  • (B) trim()
  • (C) clean()
  • (D) erase()
πŸ’¬ Discuss
βœ… Correct Answer: (A) strip()

Explanation: `strip()` removes leading and trailing whitespace from a string.

Explanation by: Mr. Dubey
`strip()` removes leading and trailing whitespace from a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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