Back-End Engineer (Python): fix the store revenue calculator