"""
Make a list of the numbers from one to one million, check borders and sum all numbers.
"""

million_numbers = list(range(1, 1000001))
print(f"The first number is: {min(million_numbers)}")
print(f"The last number is: {max(million_numbers)}")
print(f"The sum of numbers is: {sum(million_numbers)}")
