mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
fix number_of_digits bug (#2301)
* fix bug * test larger negative * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -5,6 +5,7 @@ class Node:
|
||||
"""
|
||||
A Node has data variable and pointers to Nodes to its left and right.
|
||||
"""
|
||||
|
||||
def __init__(self, data: int) -> None:
|
||||
self.data = data
|
||||
self.left: Optional[Node] = None
|
||||
|
Reference in New Issue
Block a user