generator listy numerów

nums = [x for x in range(10)]

print(nums)
Real Reindeer