the abacus can' show negative numbers if abacusnumber abacusnumber change any negative numbers to the abacus can' show numbers larger than if abacusnumber abacusnumber def displayabacus(number) numberlist list(str(numberzfill(number_of_digits) hasbead [contains true or false for each bead position top heaven row has bead for digits and for in range(number_of_digits) hasbead append(numberlist[iin ' ' bottom heaven row has bead for digits and for in range(number_of_digits) hasbead append(numberlist[iin ' ' st (topmostearth row has bead for all digits except for in range(number_of_digits) hasbead append(numberlist[iin ' ' nd earth row has bead for digits and for in range(number_of_digits) hasbead append(numberlist[iin ' ' rd earth row has bead for digits and for in range(number_of_digits) hasbead append(numberlist[iin ' ' th earth row has bead for digits and for in range(number_of_digits) hasbead append(numberlist[iin ' ' th earth row has bead for digits and for in range(number_of_digits) hasbead append(numberlist[iin ' ' th earth row has bead for digits and for in range(number_of_digits) hasbead append(numberlist[iin ' ' convert these true or false values into or characters abacuschar [ for ibeadpresent in enumerate(hasbead) if beadpresent abacuschar append(' ' else abacuschar append('|' draw the abacus with the /characters soroban japanese abacus