mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-12 15:44:12 +08:00
GitHub Action formats our code with psf/black (#1569)
* GitHub Action formats our code with psf/black @poyea Your review please. * fixup! Format Python code with psf/black push
This commit is contained in:
@ -22,7 +22,7 @@ def display(tree): # In Order traversal of the tree
|
||||
|
||||
|
||||
def depth_of_tree(
|
||||
tree
|
||||
tree,
|
||||
): # This is the recursive function to find the depth of binary tree.
|
||||
if tree is None:
|
||||
return 0
|
||||
@ -36,7 +36,7 @@ def depth_of_tree(
|
||||
|
||||
|
||||
def is_full_binary_tree(
|
||||
tree
|
||||
tree,
|
||||
): # This functions returns that is it full binary tree or not?
|
||||
if tree is None:
|
||||
return True
|
||||
|
@ -172,7 +172,6 @@ def main():
|
||||
args = input()
|
||||
|
||||
print("good by!")
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user