循环数组//demo_18.gopackagemainimport("fmt")funcmain(){person:=[3]string{"Tom","Aaron","John"}fmt.Printf("len=%dcap=%darray=%v\n",len(person),cap(person),person)fmt.Println("")//循环fork,v:=rangeperson{fmt.Printf("person[%d]:%s\n",k,v)}fmt.Println("")fori:=rangeperson{fmt.Printf("person[%d]:%s\n",i,person