How to convert the output of a for loop into a list in Python 3?

How to convert the output of a for loop into a list in Python 3?

More to explore

Based on this image's title: “How to convert the output of a for loop into a list in Python 3?