📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    What does the 'len()' function do in

    Python?
    A Calculates the logarithm of a number Correct Answer Incorrect Answer
    B Returns the square root of a number Correct Answer Incorrect Answer
    C Returns the length of a sequence or collection Correct Answer Incorrect Answer
    D Converts a number to a string Correct Answer Incorrect Answer

    Solution

    Returns the length of a sequence or collection

    Practice Next

    Relevant for Exams:

    ask-question

    Not sure which exam is best for you Talk to our expert

    Get My Free Call