DS160123 quiz 13Feb

Yes, We can convert List into tuples.

sample_list = [‘Python’, ‘CSharp’, ‘Machinelearning’]
tuple1 = tuple(sample_list)
print(tuple1)
print(type(tuple1))

output:
(‘Python’, ‘CSharp’, ‘Machinelearning’)
<class ‘tuple’>

1 Like

Correct @shruthi.rkgoi
Keep practicing .