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

  • question_answer
    String index is Bi-Direction.

    A) True     

    B) False

    C) None of these

    D) All of the above

    Correct Answer: A

    Solution :

    [a] You will iterate string from both the sides with the help of index no. if you are using index number 0 to size-1 (All positive) then it is called Forward indexing and if you are using index number -1, -2 (all negative) and so on then it is called Backward Indexing. So,


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