From c8b3f53bc935f7ffe2c6b079e54a82c0c43b2493 Mon Sep 17 00:00:00 2001 From: Hrushikesh Hanbar Date: Sun, 28 Oct 2018 00:28:50 +0530 Subject: [PATCH] Update balanced_parentheses.py --- 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 8d99358bea87..02efa8980291 100644 --- a/data_structures/stacks/balanced_parentheses.py +++ b/data_structures/stacks/balanced_parentheses.py @@ -6,7 +6,7 @@ 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 == '(':