Rating System In Leetcode Python Questions