We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a4962a commit a811a0eCopy full SHA for a811a0e
Maths/FibonacciSequenceRecursion.py
@@ -8,7 +8,7 @@ def isPositiveInteger(limit):
8
9
def main():
10
limit = int(input("How many terms to include in fibonacci series: "))
11
- if isPositiveInteger:
+ if isPositiveInteger(limit):
12
print(f"The first {limit} terms of the fibonacci series are as follows:")
13
print([recur_fibo(n) for n in range(limit)])
14
else:
0 commit comments