Branch Selection:
New Branch: The new case whose condition evaluates to True is identified. The code block associated with that case (if present) is executed. Default Branch: If no case condition matches the expression value, and a default branch is defined using the default keyword, the code associated with the default branch is executedIf several conditions are met, only the first one in sequence will be executed.
Return Value
val - Returns a value that can be compared to the evaluated expression.