diff --git a/main.py b/main.py new file mode 100644 index 0000000..75e7a62 --- /dev/null +++ b/main.py @@ -0,0 +1,7 @@ +n = int(input("Enter the n value: ")) +s = [] +a, b = 0, 1 +for _ in range(n+1): + s.append(a) + a, b = b, a + b +print(s) \ No newline at end of file