package main
import "fmt"
func main() {
var myMap1 map[string] string
myMap1 = make(map[string]string,10)
myMap1["one"] = "c"
myMap1["two"] = "c++"
myMap1["three"] = "java"
myMap1["four"] = "python"
fmt.Println("mymap1 = " , myMap1)
mymap2 := make(map[string]string)
mymap2["one"] = "c"
mymap2["two"] = "c++"
mymap2["three"] = "java"
mymap2["four"] = "python"
fmt.Println("mymap2 = " , mymap2)
mymap3 := map[string]string{
"one":"c",
"two":"c++",
"three":"java",
"four":"python",
}
fmt.Println("mymap3 = " , mymap3)
for key,value := range(mymap3){
fmt.Print("key = ", key)
fmt.Println(" , value = ", value)
}
delete(mymap3,"one")
fmt.Println(mymap3)
}