Skip to content

Commit 220a705

Browse files
Update prefix_evaluation.py
1 parent d80a17e commit 220a705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/stacks/prefix_evaluation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def evaluate(expression):
4242
stack.append(int(c))
4343

4444
else:
45-
# pop values from stack can operatorsulate the result
45+
# pop values from stack can calculate the result
4646
# push the result onto the stack again
4747
o1 = stack.pop()
4848
o2 = stack.pop()

0 commit comments

Comments
 (0)