(Solved) : 01 193 Assignments Secret Code Secret Code File Types Py File Upload Due Thursday 11 59pm Q38805840 . . .

01-193 Assignments Secret Code Secret Code File Types py a file upload Due Thursday by 11:59pm Available Jun 18 at 12am- Junenter string to encrypt: congratulations c211 o 14 9 n 13 5 g 6 24 r 177 a0 15 t 19 17 u 20 1 111 23 a 0 15 t 19 17 i80 o 1401-193 Assignments Secret Code Secret Code File Types py a file upload Due Thursday by 11:59pm Available Jun 18 at 12am- Jun 28 at 11:59pm 11 days Points 100 Submitting Create a program that will encrypt letters and create a secret code. You will create an array of numbers from 0-25. use li for i in range (26)] to create an array of numbers from 0-25. use random.shuffle to to shuffle the above array. This will be used for a new letter index order. For example: The first created array [0, 1,2,3, 4,5, 6,7,8,9,10, 11, 12, 13,14, 15, 16, 17,18, 19,20, 21, 22, 23, 24, 25 n gets shuffled to become [2, 14, 12, 20, 16, 5, 11, 1, 13, 17, 15,21, 19, 10,23,22, 25, 3, 6,7, 18,4,9,24,0,8) This will be used as the new index for the encrypted alphabet. create an array of letters using list(string.ascii_lowercase), this requires importing the string module. This will create: l’a’, ‘b’,’c, d; ‘e’, f. ‘g, ‘h’, ‘. J, ‘k’, ‘T, ‘m, ‘n’, ‘o, ‘p, ‘q, ‘r” Accept an input of a word. Using the above tables take each letter of the word and convert it to the encrypted le Print each letter with the existing letter value and the encrypted letter value. Print the newly encrypted word. Flowchart: Secret Code-1.pdf Sample output: enter string to encrypt: congratulations c211 o 14 9 n 13 5 g 6 24 r 177 a0 15 t 19 17 u 20 1 111 23 a 0 15 t 19 17 i80 o 14 9 n 13 5 s 18 16 lifyhprbxprajfq >>> Extra credit include a space as an encrypted character and allow for multiple words. Show transcribed image text 01-193 Assignments Secret Code Secret Code File Types py a file upload Due Thursday by 11:59pm Available Jun 18 at 12am- Jun 28 at 11:59pm 11 days Points 100 Submitting Create a program that will encrypt letters and create a secret code. You will create an array of numbers from 0-25. use li for i in range (26)] to create an array of numbers from 0-25. use random.shuffle to to shuffle the above array. This will be used for a new letter index order. For example: The first created array [0, 1,2,3, 4,5, 6,7,8,9,10, 11, 12, 13,14, 15, 16, 17,18, 19,20, 21, 22, 23, 24, 25 n gets shuffled to become [2, 14, 12, 20, 16, 5, 11, 1, 13, 17, 15,21, 19, 10,23,22, 25, 3, 6,7, 18,4,9,24,0,8) This will be used as the new index for the encrypted alphabet. create an array of letters using list(string.ascii_lowercase), this requires importing the string module. This will create: l’a’, ‘b’,’c, d; ‘e’, f. ‘g, ‘h’, ‘. J, ‘k’, ‘T, ‘m, ‘n’, ‘o, ‘p, ‘q, ‘r” Accept an input of a word. Using the above tables take each letter of the word and convert it to the encrypted le Print each letter with the existing letter value and the encrypted letter value. Print the newly encrypted word. Flowchart: Secret Code-1.pdf Sample output:
enter string to encrypt: congratulations c211 o 14 9 n 13 5 g 6 24 r 177 a0 15 t 19 17 u 20 1 111 23 a 0 15 t 19 17 i80 o 14 9 n 13 5 s 18 16 lifyhprbxprajfq >>> Extra credit include a space as an encrypted character and allow for multiple words.

Expert Answer


Answer to 01-193 Assignments Secret Code Secret Code File Types py a file upload Due Thursday by 11:59pm Available Jun 18 at 12am-…

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top