def mult(nums): ret = [] for a, b in nums: ret.append(a * b) return ret print(mult([(2, 4), (5, 2)])) # left, right = 1, 2 # print(left) # print(right)