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 found your objection here confusing until I thought about it.
Fundamentally, I agree. However, I think the underlying problem isn't the logic of planets leaving the system. That's a symptom. The problem is that the orbits change. As you note, if a planet leaves the system on the left, all other planets shift to fill lower orbits. However, if a planet is destroyed the same thing happens. The logic is consistent and solvable, but it's weird. There's a sort of extra movement built into it.
My biggest complaint, I think, is that the series didn't build upon itself. It would have been great if each new entry in the series added instead of being essentially the same with a different skin.
See above, I think the timing assessments are off by a factor of 10.
Yes, random tests Javascript
ffs, I thought I had fixed that... x/ Yes, it should be "propenoyl..."
random tests, I guess?
This one bothers me:
15-[1,2,2-triamino]propenanoyloxy-2,4,5,12-tetra[2-[[4,5,5-tribromo-1,4,6,7-tetrachloro]hept-2-enyl]arsino[1,2-diamino]ethenoxycarbonyl]hexen-3,5-diynylhexadec-10,13-diynoic acid
It has
propenanoyloxy
in it.This has both an alkene
en
and alkanean
suffix, before theoyloxy
.Yet, examples, such as
4-propanoyloxypentanoic acid
andprop-2-enoyloxy...
, never show this combination.How do you explain
propenanoyloxy
?an
as additional suffix or only in front ofoyloxy
?alk
, sometimesalkan
as prefix; What do you mean in these cases?got it, thanks!
js fork approved
except the test is not on
ans
...You should explain the math notations: not all users have a math-college background (hint: I don't ;) )
Also names are not to be chosen randomly. If you can switch the function name from
sum_not_prime
tosum_prime
without changing anything else, this means the name has nothing to do with the task (or one of them is totally wrong).read below...
Sorry, this is my first attempt at creating a kata. I don't understand what the problem is in my description. Maybe you can help me?
Definitely shorter, but not more readable IMHO.
If you want something that sort, but a bit more readable (and pythonic) you could use:
return ans if ans and len(ans) < 140 else False
Anyways, ans is never going to be empty because you already inserted '#'
The description still doesn't describe the actual task.
What do the mathy shenanigans mean?
also,
sum_not_prime
becamesum_prime
whithout any additional explanation: this smells absolutely bad for the quality of the description.ready
ready
Loading more items...