Swift tuple
var TupleObject = (Value1, value2,… valueN)
//Sample
var values = (5, “String”)
Vel
var TupleObject = (Value1, value2,… valueN)
//Sample
var values = (5, “String”)
var TupleName = (Value1, value2,… any number of values)
//example
var error501 = (501, “Not implemented”)
// create tuple with two elements
var product = ("MacBook", 1099.99)
// access tuple elements
print("Name:", product.0)
print("Price:", product.1)