A

Admin • 833K Points
Coach

Q. What is the output of this code?

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

Explanation by: Admin

String concatenation of '5' and '5' results in '55'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.