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.
Ikr, I'm much too lazy to attempt that
its faster than using x**y % z due to it being a built in function (also more accurate).
to your actual question, i have no idea.
love the brute force! lol!
This comment is hidden because it contains spoiler information about the solution
if you're using python, check what you do about negative indexes, maybe?
Note that you're supposed to evaluate a generation "one shot", based on the state at the previous generation only. Reading your pseudo-code, I'm not entirely sure you're not using intermediate results of the current generation to compute it itself (but that may just be the wording...)
This comment is hidden because it contains spoiler information about the solution
while i love a good one liner, to others this is really gated code.
either way, Nice!
theres an oversight with my solution, along with me printing the variables. please ignore
perfect lol, exactly what i was asking for, thanks!
i am not getting your question exactly, so here it is what it is
this is dict comprehension similar to list comprehension (ex:{i:1 for i in range(2)} => {0:1,1:1}, i=key, 1=value) and int(hex, 16)(:or int(value, base)) is way to convert hex value to base 10.
would i represent the key where after the : is the value casted to int with respect to hex?
This comment is hidden because it contains spoiler information about the solution
it feels great! now if only i could do the same on 4 lol
and now i feel stupid LOL great solution :)
This comment is hidden because it contains spoiler information about the solution