A

Admin • 802.91K Points
Coach

Q. What is the output of `print('abc'.upper())`?

  • (A) ABC
  • (B) abc
  • (C) Abc
  • (D) None
  • Correct Answer - Option(A)
  • Views: 5
  • Filed under category Python
  • Hashtags:

Explanation by: Admin
`upper()` converts all characters in a string to uppercase.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.