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.
Really clever and fast solution.
I like this!
Seriously, there's no reason to be so confusing with variable naming
чел чисто харош
this is helpful thank you
This one took me like 4 minutes to understand the concept cuz i cant even put together everything: heres everything you need to know if you cant understand this:
def first_non_consecutive(a):
i = the first element in the array
for all the numbers in the array:
if the (number by actual element/index tracking)_ number in the array doesn't equal (the number counting up by 1)__:
return (the number by actual element/index tracking)
(else) add 1 to the number counting up by 1s
if the "for" cycle doesn't run cuz there isn't any elements or there isn't a solution by the time the "for" cycle is over, return None
i wrote that in the same context of the code, its probably hard to understand, but it helped me understand it ;/
😂