I need some help with this python programming assignmentasap
Part A
In an IDLE Editor window I need to write non-void functioncalled line2cipher() that takes three arguments.
The first two arguments are floats, an amplitude and a seedvalue. The third argument is
a line of clear text (i.e., a string). This function willencrypt an entire line of clear text.
They’ll do the following:
• initializing a string accumulator as an empty string.
• Use a for-loop to encrypt each character in the line using oneiteration of the loop for each
character.
• In the loop body, add each encrypted character to theaccumulator as it’s encrypted, calling
the function cipher chr()
OR
OR