Merge branch 'stack-track-min-max' of https://github.com/AnupamBahl/PythonAlgorithms into stack-track-min-max

This commit is contained in:
AnupamBahl 2023-10-06 17:19:18 -07:00
commit 5f31db7884

View File

@ -13,8 +13,9 @@ class StackData:
Object stored on the stack
"""
def __init__(self, current_value: float, min_value: float
, max_value: float) -> None:
def __init__(
self, current_value: float, min_value: float, max_value: float
) -> None:
self.current_value = current_value
self.min_value = min_value
self.max_value = max_value
@ -161,5 +162,5 @@ class MinMaxStack:
if __name__ == "__main__":
from doctest import testmod
testmod()
testmod()