πŸ“Š Python
Q. What is the output of `print('hello'.capitalize())`?
  • (A) hello
  • (B) HELLO
  • (C) Hello
  • (D) hELLO
πŸ’¬ Discuss
βœ… Correct Answer: (C) Hello

Explanation: `capitalize()` makes the first letter uppercase and rest lowercase.

Explanation by: Mr. Dubey
`capitalize()` makes the first letter uppercase and rest lowercase.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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