HW/In Class Lab COSC 120 1/26/2017 Due 1/30/2017 Write and demo the following functions 1. Convert a tuple to a list 2. Convert a list to a tuple. 3. Input parameters: list of tuples, single tuple Return value: single list comprising the first parameter with the second parameter appended. E.g., appTuple( [ (1, 2), ('a', 'b', 'c') ] , (10, 20, 30, 40) ) --> [ (1, 2), ('a', 'b', 'c'), (10, 20, 30, 40) ] 4. Given a tuple of values and a 2-tuple. Return a modified tuple of the values. The second tuple is a 2-tuple. First value is an index number, the second value is a replacement value. E.g. modTuple( ( 'a', 1, 2, 'd', True), (2, "new") ) --> ( 'a', 1, 'new', 'd', True) 5. Given a list of two tuples, return a list with the tuples reversed. E.g., swapPair( [ (1, 2), ('a', 'b', 'c') ] ) --> [ ('a', 'b', 'c'), (1, 2) ]