A

Admin • 802.91K Points
Coach

Q. Which function is used to get the length of a string in Python?

  • (A) length()
  • (B) len()
  • (C) size()
  • (D) count()
  • Correct Answer - Option(B)
  • Views: 2
  • Filed under category Python
  • Hashtags:

Explanation by: Admin
The len() function is used to get the length of a string in Python.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.