Skip to content

Commit a811a0e

Browse files
authored
Update FibonacciSequenceRecursion.py
1 parent 1a4962a commit a811a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Maths/FibonacciSequenceRecursion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def isPositiveInteger(limit):
88

99
def main():
1010
limit = int(input("How many terms to include in fibonacci series: "))
11-
if isPositiveInteger:
11+
if isPositiveInteger(limit):
1212
print(f"The first {limit} terms of the fibonacci series are as follows:")
1313
print([recur_fibo(n) for n in range(limit)])
1414
else:

0 commit comments

Comments
 (0)