Community

Start a Thread


Notifications
Subscribe You’re not receiving notifications from this thread.

Validate Symbols - Python Question

Challenges • Asked over 4 years ago by Devesh Kumar Singh

Devesh Kumar Singh Commented on Dec 23, 2019:

There is a syntax error in the testing code.

SNIPPET
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.

Jake from AlgoDaily Commented on Jan 29, 2020:

Thank you, Devesh! This has been resolved and double checked.