Worst kata I've ever seen, the wording and tests are terrible. I hope I never see such assignments again. Thanks.
@Codewars, please do something with similar Kata, the author of which has not been logged in for a long time. + do some with those Kata that are solved by 1% of users and they are still on difficulty 6-8kyu (https://www.codewars.com/kata/5bc6f4534be9777fae000028)
There should be fixed tests in JS and the code for random tests should be removed in sample tests section.
I found it =D
Ruby 3.0 should be enabled.
You can try and remove 'print' from your code
Please, mark your post as having spoiler content next time, read this: https://docs.codewars.com/training/troubleshooting/ print returns None.
This comment is hidden because it contains spoiler information about the solution
Oh brilliant. Thanks for the pointer!
Not a kata issue, string interpolation in Ruby only works with double quotes. And you have a typo there.
thanks... i have take my time ... i was in a rush to do this.✔️✔️✔️