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.
@Blind4Basics
How can i change numbers to words using python?
Pls help.
Can you explain more than just repeating what is asked? What does name mean?
I solved this kata in python.And based on recursive concept, you only to know how to solve the case that runs == 1.
This comment is hidden because it contains spoiler information about the solution
;)
I am really confused about this Kata, how to sort the numbers ?
I surprisingly found that the remainders appear reguarly. and they are From 1 to m-1 ,which are in int(n/m) times loop.(the largest integer <= n/m).
If you click Attempt with the initial code in Python you'll see there are tests with numbers not at the end, but you should treat that the same as any other string not ending with numbers.
thx, I have another question, can the number appears in other location except the end of the input
"foobar0200"
Since "foobar099" should become "foobar100" by running this funcation.
Then if I input "foobar0199", what is the standard return value ? "foobar0200" or "foobar200" ?
I met the same problem, I guess that there are something that you did't consider in your codes.
it is much more easier and cleverer than my codes.
well,it's fault,'global sum_num' is needless
Thank you for your question :)
Loading more items...