Skip to content

Commit f1ec84a

Browse files
hrushi-hanbarharshildarji
authored andcommitted
Update balanced_parentheses.py (TheAlgorithms#538)
1 parent 75d11f9 commit f1ec84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/stacks/balanced_parentheses.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
def balanced_parentheses(parentheses):
9-
""" Use a stack to check if a string of parentheses are balanced."""
9+
""" Use a stack to check if a string of parentheses is balanced."""
1010
stack = Stack(len(parentheses))
1111
for parenthesis in parentheses:
1212
if parenthesis == '(':

0 commit comments

Comments
 (0)