We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b9d504 commit 42468dfCopy full SHA for 42468df
Maths/FibonacciSequenceRecursion.py
@@ -9,7 +9,8 @@ def isPositiveInteger(limit):
9
def main():
10
limit = int(input("How many terms to include in fibonacci series: "))
11
if isPositiveInteger(limit):
12
- print("The first {limit} terms of the fibonacci series are as follows:".format([recur_fibo(n) for n in range(limit)]))
+ print("The first {limit} terms of the fibonacci series are as follows:")
13
+ print([recur_fibo(n) for n in range(limit)])
14
else:
15
print("Please enter a positive integer: ")
16
0 commit comments