A

Admin • 833.24K Points
Coach

Q. What is the output of `print('5' + '5')`?

  • (A) 10
  • (B) 55
  • (C) 5+5
  • (D) Error
  • Correct Answer - Option(B)
  • Views: 34
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Strings are concatenated using `+`, so `'5' + '5'` results in `'55'`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.