mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Tighten up psf/black and flake8 (#2024)
* Tighten up psf/black and flake8 * Fix some tests * Fix some E741 * Fix some E741 * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -8,7 +8,7 @@ import math
|
||||
|
||||
def decimal_to_octal(num: int) -> str:
|
||||
"""Convert a Decimal Number to an Octal Number.
|
||||
|
||||
|
||||
>>> all(decimal_to_octal(i) == oct(i) for i in (0, 2, 8, 64, 65, 216, 255, 256, 512))
|
||||
True
|
||||
"""
|
||||
|
Reference in New Issue
Block a user