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