12th Class Computers Science Sample Paper Python Revision Tour-Sample Paper-1

  • question_answer
    Range () method is used to specify the length of a for-in loop.

    A) True                 

    B) False

    C) None of these

    D) All of these

    Correct Answer: A

    Solution :

    [a] For loop is a counting loop which is used to iterate the sequence, so for loop uses range () method to specify the length.


You need to login to perform this action.
You will be redirected in 3 sec spinner