πŸ“Š Python
Q. Which method can be used to remove whitespace from the beginning of a string?
  • (A) strip()
  • (B) lstrip()
  • (C) rstrip()
  • (D) trim()
πŸ’¬ Discuss
βœ… Correct Answer: (B) lstrip()

Explanation: `lstrip()` removes leading whitespace from a string.

Explanation by: Mr. Dubey
`lstrip()` removes leading whitespace from a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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