Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Fibonacci
Original file line number Diff line number Diff line change
@@ -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? "))
Expand Down