โ† All lessons

Lesson 54 of 62 ยท about 15 minutes

Enums ๐Ÿšฆ

Enums ๐Ÿšฆ Programs are full of values that come from a fixed set: traffic light colours, order statuses, days of the week, difficulty levels. Storing them as plain strings like "shipped" works until somebody types "shiped" and nothing complains. An enumโ€ฆ

This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.

See the free lessons