How to use the enum library — Suppose you need a way to represent the days of the week in your program. A first idea would be to hardcode them into strings: "monday" for Monday, "tuesday" for Tuesday etc. However, it is easy to get confused: should it be all lowercase, capitalized, all uppercase? A first improvement…