Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 35)
35.
What is the result of the expression tuple('hello')?
('h', 'e', 'l', 'l', 'o')
(104, 101, 108, 108, 111)
('hello')
['h', 'e', 'l', 'l', 'o']
Answer: Option
Explanation:
The tuple() constructor can convert a string to a tuple of its characters.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.