Write z_scores(nums) returning (x − mean) ÷ std (population std), rounded to 2.
z_scores([2, 4, 4, 4, 5, 5, 7, 9]) → [-1.5, -0.5, -0.5, -0.5, 0, 0, 1, 2]
z_scores([1, 3]) → [-1, 1]
Submit runs 3 tests, including hidden edge cases.
Run your code to see the output here.