👀
Everything's working correctly now.
jhoffner already fixed this.
You are making the mistake of saying that strings can't be iterated without converting to list.
You can already do roman[::-1] perfectly fine on any string. Strings are essentially an array from characters. You have C to thank for that.
This was a bug in Codewars that has since been fixed.
The random tests fail if you remove "import string" from the template code.
Loading collection data...
👀
Everything's working correctly now.
jhoffner already fixed this.
You are making the mistake of saying that strings can't be iterated without converting to list.
You can already do roman[::-1] perfectly fine on any string. Strings are essentially an array from characters. You have C to thank for that.
This was a bug in Codewars that has since been fixed.
The random tests fail if you remove "import string" from the template code.