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

  • question_answer
    What will be the output of the given statement, if you will enter 9 a=b=int(input("Enter a Number"))print(a, b)

    A) 9 9          

    B) 9 0

    C) Generate error    

    D) none of the above

    Correct Answer: A

    Solution :

    [a] As per multiple assignment i.e., assigning same value to multiple variables like a=b=c=5


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