There is a method in python and golang for a function to return multiple values at the same time. In fact, php can also do it, but it is a little more troublesome than python and golang. Here is a simple demonstration example, the list function is used here
|