Run ❯
Get your
own
website
×
Change Orientation
package main import ("fmt") func main() { prices := []int{10,20,30} prices[2] = 50 fmt.Println(prices[0]) fmt.Println(prices[2]) }
10
50