Ad
  • Custom User Avatar

    Yep, but with map, you dont need to use for here

  • Custom User Avatar

    Dear user, and have you thought maybe the problem was YOU didn't understand the instructions (unlike the other 93000 persons who did)? You can ask for a rephrase or an explanation without the insults or being demanding.

    It's as simple as writing "I don't get what to do, could someone explain it in another way?"

  • Custom User Avatar

    How much more can you break it down?

    returns the same string, but with all five or more letter words reversed

    There really is no more simplification to this... Take each word, and if it has 5+ letters - reverse it, otherwise leave it the same.

    I can't understand the principle of flipping a string

    You're the one bringing it up, there's nothing like that in description. IDK what string flipping is :D

  • Custom User Avatar

    Dezoway:

    Remember the Codewars community is global and we all have different backgrounds and speak different languages natively. So miscommunication happens sometimes. Please try assuming the best intent when communicating on Codewars. And don't call others idiot, please, read this.

  • Custom User Avatar

    Please if you can come up with some better description then share it here, and I will be more than happy to update it.

    I think this fragment of description could be helpful to get what's the task here, I am not sure though: "[function] takes in a string of one or more words, and returns the same string, but with all five or more letter words reversed" .

    Thanks!