diff --git a/Fibonacci b/Fibonacci index 2fad2b0..b959663 100644 --- a/Fibonacci +++ b/Fibonacci @@ -1,7 +1,7 @@ # Program to display the Fibonacci sequence up to n-th term where n is provided by the user # change this value for a different result -nterms = 10 +nterms = int(input()) # uncomment to take input from the user #nterms = int(input("How many terms? "))