<filename>proj02_loops/proj02_02.py
# Name:
# Date:

# proj02_02: Fibonaci Sequence

"""
Asks a user how many Fibonacci numbers to generate and generates them. The Fibonacci 
sequence is a sequence of numbers where the next number in the sequence is the sum of the 
previous two numbers in the sequence. The sequence looks like this: 
1, 1, 2, 3, 5, 8, 13...
"""
a=0
b=1
c=1
x = int(raw_input("How many Fibonacci numbers would you like to generate?"))
for number in range (0,x):
    print b
    c = a + b
    a = b
    b = c