SIGN IN SIGN UP

Fix continued_fraction.py to work for negative numbers (#8985)

* Add doctests to continued_fraction.py for 0 and neg nums

* Fix continued_fraction.py to work for negative nums

Fix continued_fraction.py to work for negative nums by replacing int() call with floor()

* Move comment in doctest
T
Tianyi Zheng committed
e887c14f1252cd7de3d99ef0553c448c8c9711df
Parent: 945803f
Committed by GitHub <noreply@github.com> on 8/18/2023, 8:53:17 PM