You can only index things that can be indexed, such as lists or strings.
age.
If we use a loop to print the set values, you will notice it does not follow any order.
Categoriesโข logging.
Browse Top Careersโข Notice also how this latter fix still doesn't completely fix the bug -- it prevents you from attempting to subscript None but things[0] is still an IndexError when things is an empty list.
.