πŸ“Š Python
Q. Which method is used to convert all characters in a string to uppercase?
  • (A) upper()
  • (B) uppercase()
  • (C) capitalize()
  • (D) toUpperCase()
πŸ’¬ Discuss
βœ… Correct Answer: (A) upper()

Explanation: `upper()` returns a copy of the string with all characters in uppercase.

Explanation by: Mr. Dubey
`upper()` returns a copy of the string with all characters in uppercase.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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