+ 2

Please can someone help me on this solution to NO NUMERAL code coach problem

Its working only on four test cases need help please https://code.sololearn.com/cAoXnXNKfj5E

25th Jan 2020, 2:23 AM
Source_code
Source_code - avatar
3 odpowiedzi
+ 5
Maybe try this case: The number of ways is six. And you'll see the problem.
25th Jan 2020, 3:51 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
Source_code Let me share you my approach. Don't split the string. Just use str.replace("number", "#").
25th Jan 2020, 10:01 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
It's working perfectly for that case
25th Jan 2020, 9:55 AM
Source_code
Source_code - avatar