Contact: aviboots(AT)netvision.net.il
39,844 questions
51,765 answers
573 users
import math list_of_tuples = [(1, 2), (3, 4), (5, 6), (7, 8)] result_lst = [math.prod(tpl) for tpl in list_of_tuples] print(result_lst) ''' run: [2, 12, 30, 56] '''