Ad
  • Custom User Avatar

    That is the solution in essence, but it is hard to read, not to mention that debugging is almost impossible as is.
    Python is a very verbose and explicit language. We shouldn't neglect that in favor of shorter code, I think.

  • Default User Avatar

    I legitimately thought people were writing in rot13, and was trying to translate in my head.

  • Default User Avatar

    Hi, can someone give me a translation of the comments? I have the same problems (1 error, no comment). Even if I put a print in the code (and use the example to prove it works, I got nothing in the output window.
    P.S. Trying the kata in Python.

  • Custom User Avatar

    Hi. It's right. Georgian

  • Default User Avatar

    georgian I guess (in a latin transliteration)

  • Default User Avatar

    Hi, what language is this? I'm just curious. :) Thanks, suic

  • Custom User Avatar

    xoo magxela tua sheidzleba arc aqvs azri :D magram chvenebit unda gachvenos wesit. romel versiasac ar unda iyenebde print(ints,s)-ma unda gachvenos.mashin mogiwevs shecdomis povna :D

  • Default User Avatar

    kai daikide gmadlob!
    sxva rames gavaketeb :D

  • Default User Avatar

    mainc ar machvena...
    arafers ar wers qvemot.
    tan romc daweros 10milion elementiani siaa.... :D

  • Custom User Avatar

    print(ints,s) daumate funqcias da ro naxav damalul testebs gasworeb

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Qartveli xar? shegidzlia input- achvenebino da mixvdebi sad gaqvs shecdoma.

  • Default User Avatar

    Whenever i press submit i get outcome like this:
    Time: 1376ms Passed: 0 Failed: 0 Errors: 1

    But i do not know wat the error is...
    there is no comment besides the fact that there is an error
    what can i do?

    however for regular tests code works fine.

  • Default User Avatar

    I think the code complexity is what's important here.
    Even though it's not written in the most beatiful way, complexity is very low.

    However shadowing the built-in fucntion? definitely not the best practise.

  • Custom User Avatar

    Just not worded very well...

    Suggestion:

    Write a function that will take one argument, a string, as a word or sentence. The function should return the original string except reverse any word that has five or more letters. Strings passed in will consist of only letters and spaces. Spaces will be included in the result only when more than one word is present.

  • Loading more items...