Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2524f39

Browse files
taking input from new line
1 parent 08b7bdd commit 2524f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Fibonacci_Sequence_Generator/Fibonacci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def fibo(n):
1414

1515
n = 0
1616
while n <= 0:
17-
n = int(input("Enter how many terms you need in your Fibonacci Sequence: "))
17+
n = int(input("Enter how many terms you need in your Fibonacci Sequence: \n"))
1818

1919
fib_sequence = fibo(n)
2020
print(", ".join(map(str, fib_sequence)))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /