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.
cool Kata,
took me some time to finde the "and" in the "defeated"section.
thx for a great time
so i solved it with chaning all the calulated values into int()
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I have 34 characters without 'return' in one line. can somebody help me?
Now I have 35 characters. Was used python golfing and walrus. Can somoeone help me? I think, the trouble in return statement.
At 34 without the whitespace after the return statement
@sinisake apparently the return statement is eating the extra characters
35 characters min, here too... Walrus didn't helped too much... :)
There must be a Pythonic trick I've missed
indent can be 1 space too. but for this to works, you need one line!
The return plus the whitespace are 7 characters, the definition header takes 11 characters. The len call is 6 characters and the Walus Operator plus parentheses are 4 characters. So that's 31-7-11-6-4 = 3 characters for the computation.
Among which a multiply sign, the integer variable and the assigned length variable so 0 characters are left for the comparison operator...
Did I miss something?
You can omit return at all. Search about it on google.
Yes.
The indentation is 4 characters lost so everything needs to be in one line, isn't it?
Loading more items...