Cheryl's birthday: Difference between revisions

m
m (further document methods)
Line 1,612:
 
# filter for those of the finally remaining months that have only one date left.
const bday = filter(x -> count(m -> m[2] == x[2], f2) == 1, f2)[1]
 
println("Cheryl's birthday is $(bday[2]) $(bday[1]).")
4,105

edits