We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8e7a65 commit a8a11ccCopy full SHA for a8a11cc
Maths/fibonacciSeries.py
@@ -6,11 +6,11 @@ def recur_fibo(n):
6
else:
7
return(recur_fibo(n-1) + recur_fibo(n-2))
8
9
-limit = int(input("How many terms to include in fionacci series:"))
+limit = int(input("How many terms to include in fibonacci series: "))
10
11
if limit <= 0:
12
- print("Plese enter a positive integer")
+ print("Please enter a positive integer: ")
13
14
- print("Fibonacci series:")
+ print(f"The first {limit} terms of the fibonacci series are as follows")
15
for i in range(limit):
16
print(recur_fibo(i))
0 commit comments