Menu
×
×
Correct!
Exercise:Change the value from "Volvo" to "Opel", in the cars array.
package main
import ("fmt")
func main() {
var cars = [4]string{"Volvo", "BMW", "Ford", "Mazda"}
cars[0] = "Opel"
fmt.Print(cars)
}
Not CorrectClick here to try again. Correct!Next ❯package main import ("fmt") func main() { var cars = [4]string{"Volvo", "BMW", "Ford", "Mazda"}= fmt.Print(cars) } |