Home / Programming MCQs / Python MCQs / Question

P

Parvesh Kanani • 2.84K Points
Extraordinary

Q. What will be the output of following python code?

Code:
a=list((45,)*4) 
print((45)*4) 
print(a)
(A) (45,45,45,45).[45,45,45,45].
(B) 180[(45),(45),(45),(45)].
(C) 180[45,45,45,45].
(D) Syntax error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.