What is the output of the following piece of code?
a=list((45,)*4)
print((45)*4)
print(a)
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
Answer: Option C
Join The Discussion