Python Add Problem Leetcode Rating Predictor