I am starting with python so apologies if my code lacks some common things.
I need to optimize the calculation time of a logic and look for hints on how to do it.