Rating System In Leetcode Python Problems