Home »
Python »
Python Tuples MCQs
Can you create a single-element tuple?
6. Can you create a single-element tuple?
- Yes
- No
Answer: A) Yes
Explanation:
To create a single-element tuple you have to write an element inside parentheses and after the element, you have to put the comma. For example T= (98,) will create a single element tuple.