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.
You got a space after each number and then a comma, invert the order put first the comma and then a space, thats all!
Tenes un espacio despues de cada nuemro y despues la coma, inverti el orden, pone primero la coma y el espacio despues, cambia eso y ya esta!
Finally I pass the test ...
I try with a totally different approach (incrementing the number) and can't pass the 750 mark in the test either. I'm new coding I start a little over a month ago, so everithing is new for me.
starmap and product are from itertools
This comment is hidden because it contains spoiler information about the solution
I test it with my solution and it gives 17962
I think this kata is overrated
Maybe it is because in your pc you use a list of list for examplem [[1,3],[2,5],[6,9]] and a list the test uses a list of tuples ([1,3],[2,5],[6,9])
I copy & paste the code in my idle and to understand what the count(0,9) is doing and it only shows an error:
File "main.py", line 2, in gen
for x in count(0, 9):
NameError: name 'count' is not defined
How do you obtain the last formula? I was traing to do something like that but i couldn't, feeding all the fishes of the same size in one round was really clever, good job man!
Can you tell me how to delete it?
I dont know how to delete the comment, i was training to do another thing.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The kata didn't says exactly 4 or 6 "base 10 numbers", so technically 4 arabic numbers fits the description and are a valid solution.
Loading more items...