For the number 11
, the result is (2, 1)
. This example matches the fourth switch
case, (_, _)
, in which the underscore is used as a wildcard match for both values in the tuple. This returns "11"
.
For the number 11
, the result is (2, 1)
. This example matches the fourth switch
case, (_, _)
, in which the underscore is used as a wildcard match for both values in the tuple. This returns "11"
.