I am having trouble with this project. I feel like I am getting the same output as the program, but it keeps telling me I am not. The code is quite messy, but I planned on making it more neat once I passed the test cases. Any help at all would be appreciated. Thank you.
Those errors usually mean you’ve misspelled one of the keys in the dict, in this case “deviation.” Your dict and the test dict have to have the same keys to perform arithmetic.