One thought on “Udacity – Intro to Computer Science – Python – 10 Row Abacus”

  1. i = 9
    while i >= 0:
    print “|00000*****|”[:11-(value / 10i)] + ” ” + “|00000*****|”[11-(value / 10i):]
    value, i = value – 10i * (value / 10i), i – 1

Leave a reply