subject

You have been given an encrypted copy of the Final exam study guide here, but how do you decrypt and read it??? Along with the encrypted copy, some mysterious person has also given you the following documents:

helloworld. txt -- Maybe this file decrypts to say "Hello world!". Hmmm.

hints. txt -- Seems important.

In a file called pa11.py write a method called decode(inputfile, outputfile). Decode should take two parameters - both of which are strings. The first should be the name of an encoded file (either helloworld. txt or .txt or yet another file that I might use to test your code). The second should be the name of a file that you will use as an output file. For example:

decode(".txt" , "translatedguide. txt")

Your method should read in the contents of the inputfile and, using the scheme described in the hints. txt file above, decode the hidden message, writing to the outputfile as it goes (or all at once when it is done depending on what you decide to use).

Hint: The penny math lecture is here.

Another hint: Don't forget about while loops...

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
1. before plugging in a new device to a computer you should unplug all other devices turn off the computer turn on the computer 2. many of the maintenance tools for a computer can be found in the control panel under administrative tools display personalization
Answers: 1
question
Computers and Technology, 22.06.2019 22:40
In this lab, you complete a python program that calculates an employee's annual bonus. input is an employee's first name, last name, salary, and numeric performance rating. if the rating is 1, 2, or 3, the bonus rate used is .25, .15, or .1 respectively. if the rating is 4 or higher, the rate is 0. the employee bonus is calculated by multiplying the bonus rate by the annual salary.
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
What is the total resistance in a circuit that contains three 60 ohm resistors connected in a series? a. 20 ohms b. 120 ohms c. 60 ohms d. 180 ohms
Answers: 2
question
Computers and Technology, 23.06.2019 17:10
Ac++an of of pi. in , pi is by : pi = 4 – 4/3 + 4/5 – 4/7 + 4/9 - 4/11 + 4/13 - 4/15 + 4/17 . ., to pi (9 ). , if 5 to pi,be as : pi = 4 - 4/3 + 4/5 - 4/7 + 4/9 = 4 – 1. + 0.8 - 0. + 0. = 3.. atoofbe to pi?
Answers: 2
You know the right answer?
You have been given an encrypted copy of the Final exam study guide here, but how do you decrypt and...
Questions
question
Mathematics, 11.11.2019 19:31