you see the reason why it's not passing for one and printing two is because the if function works for all the others number but not one. So my suggestion is to have another if function where if the size is 1 to print just one asterik. On the previous if function that checks if it's unfilled, add if the size not equals to one to not confuse python. Try debugging it to see how this would work.
Hope that helps