Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
I legitimately thought people were writing in rot13, and was trying to translate in my head.
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.
Hi. It's right. Georgian
georgian I guess (in a latin transliteration)
Hi, what language is this? I'm just curious. :) Thanks, suic
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
kai daikide gmadlob!
sxva rames gavaketeb :D
mainc ar machvena...
arafers ar wers qvemot.
tan romc daweros 10milion elementiani siaa.... :D
print(ints,s) daumate funqcias da ro naxav damalul testebs gasworeb
This comment is hidden because it contains spoiler information about the solution
Qartveli xar? shegidzlia input- achvenebino da mixvdebi sad gaqvs shecdoma.
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.
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.
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...