| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ce740d4 commit 283ea5f
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -461,8 +461,8 @@ Defining Functions | |||
| 461 | 461 | We can create a function that writes the Fibonacci series to an arbitrary | |
| 462 | 462 | boundary:: | |
| 463 | 463 | ||
| 464 | - >>> def fib(n): # write Fibonacci series up to n | ||
| 465 | - ... """Print a Fibonacci series up to n.""" | ||
| 464 | + >>> def fib(n): # write Fibonacci series less than n | ||
| 465 | + ... """Print a Fibonacci series less than n.""" | ||
| 466 | 466 | ... a, b = 0, 1 | |
| 467 | 467 | ... while a < n: | |
| 468 | 468 | ... print(a, end=' ') | |
| Back | FazBrowse Home | New Git URL |
0 commit comments