Python Programming - Data Types - Discussion

Discussion Forum : Data Types - General Questions (Q.No. 58)
58.
How do you check if a variable is of type tuple?
is_tuple(variable)
type(variable) == tuple
variable.is_tuple()
tuple(variable)
Answer: Option
Explanation:
The type() function is used to check the type of a variable.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.