Q. Which function is used to convert a string into lowercase in Python?

  • (A) lowercase()
  • (B) tolower()
  • (C) str.lower()
  • (D) toLowerCase()
πŸ’¬ Discuss
βœ… Correct Answer: (C) str.lower()
Explanation: The `lower()` method converts all characters in a string to lowercase.
Explanation by: Rati Dubey
The `lower()` method converts all characters in a string to lowercase.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
98
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
91%
Success Rate