Need Help Python Programming Assignment Asap Part Idle Editor Window Need Write Non Void F Q37048221

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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.