Q. What is the output of the following code?

Code:
a = 'hello'
print(a.upper())
  • (A) HELLO
  • (B) hello
  • (C) Hello
  • (D) SyntaxError
πŸ’¬ Discuss
βœ… Correct Answer: (A) HELLO
Explanation: `upper()` returns the string in uppercase letters.
Explanation by: Mr. Dubey
`upper()` returns the string in uppercase letters.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate