thp-lang.org/md/learn/collections/sets.md
2024-02-20 05:17:21 -05:00

103 B

Sets

// Set[Int]
val ages = Set(30, 31, 33, 35)

for age in ages {
    print("{age}")
}