Skip to content

Commit a8a11cc

Browse files
authored
fixed some spelling and added a different print message
1 parent c8e7a65 commit a8a11cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Maths/fibonacciSeries.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ def recur_fibo(n):
66
else:
77
return(recur_fibo(n-1) + recur_fibo(n-2))
88

9-
limit = int(input("How many terms to include in fionacci series:"))
9+
limit = int(input("How many terms to include in fibonacci series: "))
1010

1111
if limit <= 0:
12-
print("Plese enter a positive integer")
12+
print("Please enter a positive integer: ")
1313
else:
14-
print("Fibonacci series:")
14+
print(f"The first {limit} terms of the fibonacci series are as follows")
1515
for i in range(limit):
1616
print(recur_fibo(i))

0 commit comments

Comments
 (0)