Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 7)
7.
How do you convert a list to a tuple?
tuple(list)
list.to_tuple()
(tuple)list
list.as_tuple()
Answer: Option
Explanation:
The tuple() constructor can be used to convert a list to a tuple.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.