Contact: aviboots(AT)netvision.net.il
39,870 questions
51,793 answers
573 users
n = 12 # 1100 arr = n.digits(2).reverse() print arr # # run: # # [1, 1, 0, 0] #