From f1ec84af8477c246c6f73d522a9bd0afd579cd6d Mon Sep 17 00:00:00 2001 From: Hrushikesh Hanbar Date: Tue, 30 Oct 2018 19:59:12 +0530 Subject: [PATCH] Update balanced_parentheses.py (#538) --- data_structures/stacks/balanced_parentheses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 == '(':