Challenges • Asked almost 5 years ago by Devesh Kumar Singh
There is a syntax error in the testing code.
assert validate_symbols('{{[]}}') = True
is not valid since we need to do comparison with ==
instead of assignment as we are doing here.
In addition, the third point in the list of test cases should be validate_symbols('{{[]}}') should return True
instead of validate_symbols('{{[]}}') should return Frue
Link to problem: Validate Symbols.
Thank you, Devesh! This has been resolved and double checked.