mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
Fix syntax for flake8 passing (#2096)
* Fix syntax for flake8 passing
* fixup! Format Python code with psf/black push
* # fmt: off / # fmt: on
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
@@ -11,6 +11,6 @@ def perfect_cube(n: int) -> bool:
|
||||
return (val * val * val) == n
|
||||
|
||||
|
||||
if(__name__ == '__main__'):
|
||||
if __name__ == "__main__":
|
||||
print(perfect_cube(27))
|
||||
print(perfect_cube(4))
|
||||
|
||||
Reference in New Issue
Block a user