From a8a11ccc88a1343d68bef563c4a72b8f651848e5 Mon Sep 17 00:00:00 2001 From: timgiroux <40814794+timgiroux@users.noreply.github.com> Date: Sun, 7 Oct 2018 15:52:34 -0700 Subject: [PATCH] fixed some spelling and added a different print message --- Maths/fibonacciSeries.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Maths/fibonacciSeries.py b/Maths/fibonacciSeries.py index cf025b07d..5badc6a82 100644 --- a/Maths/fibonacciSeries.py +++ b/Maths/fibonacciSeries.py @@ -6,11 +6,11 @@ def recur_fibo(n): else: return(recur_fibo(n-1) + recur_fibo(n-2)) -limit = int(input("How many terms to include in fionacci series:")) +limit = int(input("How many terms to include in fibonacci series: ")) if limit <= 0: - print("Plese enter a positive integer") + print("Please enter a positive integer: ") else: - print("Fibonacci series:") + print(f"The first {limit} terms of the fibonacci series are as follows") for i in range(limit): print(recur_fibo(i))