1 2 3 4 5 6 7 8 9 10 11 12 13
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)