Leetcode Check If Number Has Equal Digit Count Python W3schools