mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fix typo
This commit is contained in:
parent
27768fcf67
commit
361f407d90
@ -275,7 +275,7 @@ def _fib(num):
|
|||||||
'''
|
'''
|
||||||
if num < 2:
|
if num < 2:
|
||||||
return num
|
return num
|
||||||
return _fib(num-1), _fib(num-2)
|
return _fib(num-1) + _fib(num-2)
|
||||||
|
|
||||||
|
|
||||||
def collatz(start):
|
def collatz(start):
|
||||||
|
Loading…
Reference in New Issue
Block a user