A

Admin • 828.03K Points
Coach

Q. Which method is used to convert all characters in a string to uppercase?

  • (A) upper()
  • (B) uppercase()
  • (C) capitalize()
  • (D) toUpperCase()
  • Correct Answer - Option(A)
  • Views: 15
  • Filed under category Python
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.