Sobes.tech
Junior — Senior

What result will be displayed in the console in example 13

livecode

Task condition

Determine which output will appear after executing the following program:

func a(){ 
    x:=[]int{}
    x = append(x,0)
    x = append(x,1)
    x = append(x,2)        
    y := append(x, 3)
    z:= append(x, 4)
    fmt.Println(y, z)
}