Question: Problem 3 : 6 * * 2 = 1 2 p t s Define a function flatten - subtract - triple that takes a nested

Problem 3:
6**2=12pts
Define a function flatten-subtract-triple that takes a nested list of numbers, flattens it into a single list, subtracts 1 from each number, and then triples each resulting number.
\table[[Sample Input,Sample Output],['(1(23)(4(5))),'(0366912)],[,([18,2124,27])
,()
Problem 3 : 6 * * 2 = 1 2 p t s Define a function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!