Skip to content

Commit 82d946a

Browse files
Update prefix_evaluation.py
1 parent 7d24573 commit 82d946a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/stacks/prefix_evaluation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ def evaluate_recursive(expression: list[str]):
6666
8.0
6767
>>> expression
6868
[]
69-
>>> evaluate(['+', '9', '*', '2', '6'])
69+
>>> evaluate_recursive(['+', '9', '*', '2', '6'])
7070
21
71-
>>> evaluate(['/', '*', '10', '2', '+', '4', '1'])
71+
>>> evaluate_recursive(['/', '*', '10', '2', '+', '4', '1'])
7272
4.0
7373
"""
7474

0 commit comments

Comments
 (0)