diff --git a/data_structures/stacks/balanced_parentheses.py b/data_structures/stacks/balanced_parentheses.py index 8d99358be..02efa8980 100644 --- a/data_structures/stacks/balanced_parentheses.py +++ b/data_structures/stacks/balanced_parentheses.py @@ -6,7 +6,7 @@ __author__ = 'Omkar Pathak' def balanced_parentheses(parentheses): - """ Use a stack to check if a string of parentheses are balanced.""" + """ Use a stack to check if a string of parentheses is balanced.""" stack = Stack(len(parentheses)) for parenthesis in parentheses: if parenthesis == '(':