Tuples
Tuples
Introduction
Hello,
It is a type that is used to keep more than one value in a combined form. Consider a function, this function freezes the latitude and longitude information of a coordinate.
It would be more logical to keep these two values associated with each other combined in an advanced type such as Tuple instead of separate return values.
Warning
The values passed to the tuple do not have to be of the same type. Such as (Int, String).