一只萌萌小番薯
package mainimport "fmt"func a() (int, int, int) { x:=1 y:=2 z:=3 z = x x = y y = x+y return x, y, z}func b() (int, int, int) { x:=1 y:=2 z:=3 z, x, y = x, y, x+y return x, y, z}func main() { fmt.Println(a()) // prints 2 4 1 fmt.Println(b()) // prints 2 3 1}