Python list comprehension use case - generate 100 random integers between 1 and 100

from random import randint
l = [randint(1, 100) for num in range(100)]
print(l)