blob: 02c72c03f39ecbdce049c2875bc65e501293c202 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import gleam/io
import gleam/dict
pub fn main() {
let scores = dict.from_list([#("Lucy", 13), #("Drew", 15)])
io.debug(scores)
let scores =
scores
|> dict.insert("Bushra", 16)
|> dict.insert("Darius", 14)
|> dict.delete("Drew")
io.debug(scores)
}
|