0
How do replace word numbers to digit but I don't have an idea
"one" : 1, "two": 2, "hundred" If I try two hundred Return 200
3 Answers
+ 1
Maybe it works,
...
"one hundred" : 100,
"two hundred" : 200,
...
+ 1
That seems like a tough question, you'll probably need to define a dictionary for every possible word which is very tedious, I wonder if there's an efficient way to this