diff --git a/Fibonacci.py b/Fibonacci.py new file mode 100644 index 0000000..062d52d --- /dev/null +++ b/Fibonacci.py @@ -0,0 +1,10 @@ +first = 0 +second = 1 +set = int(input('Enter how many times you want to have it repeat: ')) +print(first) +print(second) +for i in range(2, set): + third = first + second + print(third) + first = second + second = third