Advertisement
Uhuuuyy

act1.go

Jul 5th, 2023
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.30 KB | Source Code | 0 0
  1. package main
  2.  
  3. import "fmt"
  4.  
  5. func main() {
  6.     var nama = map[string]int{
  7.         "pert6": 7523,
  8.         // Tambahkan key = nama dan value = NPM
  9.         .... ,
  10.     }
  11.  
  12.     fmt.Println(len(nama))
  13.     fmt.Println("Sebelum dihapus ", nama)
  14.  
  15.     // Kerjakan Di Sini
  16.    
  17.     fmt.Println(len(nama))
  18.     fmt.Println("Sesudah dihapus", nama)
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement