Contact: aviboots(AT)netvision.net.il
39,892 questions
51,823 answers
573 users
tpl = (1, 0, 0, 1, 1, 0, 1) intval = int("".join(str(val) for val in tpl), 2) print(intval) ''' run: 77 '''