Contact: aviboots(AT)netvision.net.il
40,859 questions
53,264 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 '''