Rating System In Leetcode Python Interview