Question: python 3 Write a procedure transform(a,b, L) with the following spec: input: complex numbers a and b,and alist L of complex numbers output: the list
python 3
Write a procedure transform(a,b, L) with the following spec: input: complex numbers a and b,and alist L of complex numbers output: the list of complex numbers obtained by applying f(z)=az +b to each complex number in L example
>>> transform(3,2,[1,2,3])
[5, 8, 11]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
