When you run this code, you’ll see the following output:
In Wolfram Language, functions that return multiple values typically return them as elements of a list. We can use pattern matching to easily extract these values into separate variables.
The blank pattern _ in Wolfram Language serves a similar purpose to the blank identifier _ in some other languages, allowing us to ignore certain return values if we don’t need them.
Wolfram Language also supports functions with variable numbers of arguments, which we’ll explore in a future example.