What is the output of the following piece of code? [code] a=list((45,)*4) print((45)*4) print(a) [/code]

What is the output of the following piece of code?
Code:
a=list((45,)*4)
print((45)*4)
print(a)
A.
180
[(45),(45),(45),(45)]
B.
(45,45,45,45)
[45,45,45,45]
C.
180
[45,45,45,45]
D. Syntax error
 

Tìm kiếm

Back
Top