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