# Fibonacci sequence
# define the first two values
fib = [1, 1]
# iterate for 10 steps
for i in range(10):
# calculate next value as sum of previous two values of the list
nextval = fib[-1]+fib[-2]
# join it to the end of the list
fib.append(nextval)
# Print the list
print(fib)