Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You are right. Sorry for the inconvenience. I intuitively though about valid arithmetic operations
I've added a test for "9", and it works correctly for my solutions in both JavaScript and Python. Note that numbers are defined as as a sequence of digits (with an optional decimal part), and no unary minus operator is defined. Your second two expressions are therefore not valid inputs.
Hello, awesome test.
The are 3 cases that failed on present solutions at the time I am writing this.
[expression, expected]
["9", 9]
["-9", -9]
[ '-9/-3*4', 12 ]