Explore unusual Python features to solve the problem of determining whether an expression is properly parenthesised.
Why didn't sin and tan go to the party? Just cos.