Search⌘ K

Challenge: Map the Days

Explore how to implement and manage maps in Go by linking integer keys to weekday names. Learn to write functions that retrieve values by keys, including handling invalid keys gracefully.

Problem statement

Make a map to hold together the number of days in a week (1 -> 7) with its name. Make sure to follow the following key-value pair pattern (KEY: VALUE ...