A

Admin • 831.35K Points
Coach

Q. What is the output of the following code?

Code:
print(len('Python'))
  • (A) 5
  • (B) 6
  • (C) 7
  • (D) Error
  • Correct Answer - Option(B)
  • Views: 8
  • Filed under category Python
  • Hashtags:

Explanation by: Admin
The word 'Python' has 6 characters.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.