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


    ⚡ Month End Offer - Flat 52% Off On All Courses! Enroll Now ⚡
    00:00:00 AM Left

    Question

    What does the ‘range(5)’ function in Python

    produce?
    A A list with values from 1 to 5 Correct Answer Incorrect Answer
    B A list with values from 0 to 4 Correct Answer Incorrect Answer
    C A list with values from 0 to 5 Correct Answer Incorrect Answer
    D A list with a single value, 5 Correct Answer Incorrect Answer

    Solution

    A list with values from 0 to 4

    Practice Next

    Relevant for Exams:

    ask-question