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

  • question_answer
    If "name" is a string and 'i' is index of that string, then name[:i] + name[i:] will return the complete string ''name".

    A) True         

    B) False

    C) None of these

    D) All of the above

    Correct Answer: A

    Solution :

    [a] Yes, If ''name'' is a string and 'i' is index of that string, then name[:i] + name[i:] will return the complete string ''name''.


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