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

  • question_answer
    What will be the output of the given statement? print([1,2,3]*3)

    A) [3,6,9]              

    B) [1,2.3,3]

    C) [1,2,3,1,2,3,1,2,3]         

    D) Generate Error

    Correct Answer: D

    Solution :

    [d] It will generate error i.e. you can't multiply sequence by non-int of type 'list’


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