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.
I like this one 'cause tell me why String is being use
You cannot submit your solution at the moment because the kata is not published.
What's the problem?
Java Translation v2.0
Java Translation
+1 @viniciuscb
Suggestion: email
info@codewars.com
and/or Tweet to@codewars
and@QualifiedIO
, the creators of Codewars.+1 @SimonSwanky
Suggestion: email
info@codewars.com
and/or Tweet to @codewars and @QualifiedIO, the creators of Codewars.How so?
would be better to rename to some imaginary city.
C translation does not report actual and expected values in tests.
This Kata should be closed/deleted.
It is highly inappropriate for CodeWars.com to have this on their platform.
To the admins: please delete this Kata
This kata uses typing. Most Python katas don't. Look at the documentation of this module if you face another difficulty with this.
Thanks akar-0. Now I have completed the kata with your information.
The tuple is named
info
.Hi, How can I get the values of a Tuple? Like this:
def mag_number(info: Tuple[str, int])
Here are my efforts on the problem:
I read some pages about the structure Tuple[str, int]. First element is a string and second element is an integer.
But I didn't apply this information on the problem. Also,
when x = tuple((2,3,5)), I can find the values. For example x[0] --> 2
With similar idea, I tried Tuple[str, int][0] , Tuple[str, int][1] and they didn't work.
I would appreciate if you could share a page explaining the working of this kind of code with an example. https://docs.python.org/3/library/typing.html didn't help me much.
There are 4 different guns, not 3
Loading more items...