Beginner
Swift
Q35 / 100
What is a tuple in Swift?
Correct! Well done.
Incorrect.
The correct answer is B) A group of multiple values combined into a single compound value
B
Correct Answer
A group of multiple values combined into a single compound value
Explanation
let point = (x: 3, y: 4) groups values. Access with point.x or let (x, y) = point. Good for simple return values without defining a full struct.
Progress
35/100