From 3f51eaf05a6f48b35f8b48abfa52d574c967d681 Mon Sep 17 00:00:00 2001 From: Egor Kostan Date: Tue, 26 Nov 2024 20:32:05 -0800 Subject: [PATCH] Update valid_braces.py --- kyu_6/valid_braces/valid_braces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kyu_6/valid_braces/valid_braces.py b/kyu_6/valid_braces/valid_braces.py index 45e932f49e8..7ab88cc49b5 100644 --- a/kyu_6/valid_braces/valid_braces.py +++ b/kyu_6/valid_braces/valid_braces.py @@ -21,8 +21,8 @@ def valid_braces(string: str) -> bool: A function that takes a string of braces, and determines if the order of the braces is valid. It should return true if the string is valid, and false if it's invalid. - :param string: - :return: + :param string: a string consist of brackets + :return: boolean, indicates if input string is valid """ # Calc length of the input string len_str: int = len(string)