πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      In Python, what does len() function

      do?
      A Returns the size of a list, string, or other iterable Correct Answer Incorrect Answer
      B Calculates the sum of elements Correct Answer Incorrect Answer
      C Deletes an element Correct Answer Incorrect Answer
      D Creates a list Correct Answer Incorrect Answer
      E None of the above Correct Answer Incorrect Answer

      Solution

      len() returns the number of items in an object like list, tuple, string, or dictionary.

      Practice Next
      ask-question