Skip to content

Auston-Mtabane/python-challenge-001

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 

Repository files navigation

Bracket Validator Challenge

Your task is to create a function called bracket_validator that checks whether a string contains valid and correctly paired brackets.

πŸ“Œ Examples

Input Output Reason
( ) true Properly matched
(() false One bracket is not closed
( 2+2 (-3*6)*7)) false Extra closing bracket with no opening match

🎯 Goal

Implement bracket_validator(input_string) so that it accurately identifies whether the bracket structure in the given string is valid.

Good luck! πŸ’ͺ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors