Count Trailing Zeroes Leetcode Python