adplus-dvertising
frame-decoration

Question

What is the output of the following?
x = [34, 56]
print((''.join(list(map(str, x))),))

a.

3456

b.

(3456)

c.

(‘3456’)

d.

(‘3456’,)

Posted under Python

Answer: (d).(‘3456’,)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following?