Python novice here. I have the following simple logic to be implemented in python. I have made basic progress but cannot get into the logic to stop the execution when certain ac