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

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 Databases Questions!