How do you make a simple list of numbers?
The range() function generates a series of numbers. Giving range() one argument returns a series of numbers from 0 up to, not including, the number. Pass two values to create a range that starts with the first value and ends at one less than the second value. Use a third argument to specify a distance to skip between numbers in a list.
How do you make a list of numbers that follows a specific pattern?
To define a pattern, make an empty list and then modify each number in a range.