Thank you so much for that link!!!
Everyone just assumes the formula for the result without proof and I was losing my mind.
At least 30 people had exactly the same solution, so don't worry. )
same code lol. But i didnt copied ur code
Not an issue now ~~ do raise it when u encounter it agn ~~
Copy/paste from Details )
Even simpler than lambda and/or without relying on other modules
Should that work? It's not adding anything including that "injection check"
I guess I just should rewrite the description entirely... :s
edit: the most important part is actually in the wiki link: https://en.wikipedia.org/wiki/Electron_configuration
Confusing to me without advanced chemistry background...
Maybe because the image is missing? (see the issue I opened)
Depends on what you call an "exception". It actually perfectly follows the Klechkowski rules for feeling the different layers, so in that sense, it's not at all an exception. But for people without chemistry background, that might be another story (seeing 3d3 4s2)
The following image in the instructions cannot be loaded:
V is one of the python sample tests but should it be shown as an exception in the instructions?
The conditions are actually quite confusing. Turning your character or using a potion are all irrelevant. The condition, based on my understanding, is that you are on an adjacent cell to the enemy (vertically or horizontally), INCLUDING the turn where you are moving away from the enemy, BUT EXCLUDING the turn where you have just moved into the cell.
Please correct me if I am wrong.
I had a lot of trouble getting to this one liner. No resharper in python haha. I was writing in the editor bit by bit and printing it out. Plus I had trouble with the function name.