This website works better with JavaScript.
Explore
Help
Sign In
util
/
rq
mirror of
https://github.com/peter4431/rq.git
Watch
4
Star
0
Fork
You've already forked rq
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
master
main
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'master'
${ noResults }
rq
/
examples
/
fib.py
6 lines
108 B
Python
Raw
Permalink
Normal View
History
Unescape
Escape
Add example and README updates.
13 years ago
def
slow_fib
(
n
)
:
if
n
<
=
1
:
return
1
else
:
Update linting configuration (#1915) * Update linting configuration This removes flake8 in favor of ruff, which also provides isort support, and updates all files to be black, isort, and ruff compliant. This also adds black and ruff checks to the tox and Github linting workflow. * Tweak the code coverage config and calls
2 years ago
return
slow_fib
(
n
-
1
)
+
slow_fib
(
n
-
2
)