This one was a bit different… what the M365 exercise wanted was for me to find values that fell outside the norm. I had studied variance and standard deviation back in school, but I honestly didn't remember anything about them.
I managed to handle the initial part—up to the summation fairly well (more or less what’s shown in the image, though it was far from right). I tried various approaches and attempted to recall the formulas or rather, not the exact formulas, but the underlying logic and the mathematical steps I needed to implement.
I’ve included the simpleC4.py file here so you can see roughly what I was attempting earlier.
I ran quite a few tests, executing the code after every new mathematical operation to verify everything was correct; I also had to comment out certain lines to debug and figure out how far the code got or what needed fixing.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.