Get help from the best in academic writing.

# Engineering Report: Household Appliances – Refrigerator

## Berkshire Community College Python Encryption Setting Exam Practice

assignment helper Berkshire Community College Python Encryption Setting Exam Practice.

Write a program that encrypts or decrypts text. The encryption algorithm involves replacing the following letters with the following symbols (spaces should be copied over ‘as is’ and not replaced by a different character):- A-> ~
– B-> !
– C-> @
– D-> #
– E-> \$
– F-> %
– G-> ^
– H-> &
– I-> *
– J-> (
– K-> )
– L-> –
– M-> +
– N-> {
– O-> }
– P-> [
– Q-> ]
– R->
– S-> :
– T-> ;
– U-> `
– V-> /
– W-> <
– X-> ?
– Y-> ,
– Z-> .
The decryption works the same way, but in reverse (e.g., replace + with M).HINT: There is a long way to solve this problem, and a short way to solve it. The long way involves creating an if statement with 52 blocks in it. The short way uses two strings, each with 26 characters in it. One of the strings is used to hold the clear text characters and the other contains the encrypted characters. For example:codes1 = “ABCDEFGHIJKLMNOPQRSTUVWXYZ”
codes2 = “~!@#\$%^&*()-+{}[]:;`/<?,.”
When encrypting, you can search codes1 for the index of the character you are encrypting and then replace it with the character in the same location in codes2. For example, if you are encrypting M you will find that letter at location 12 in codes1 and you should replace it with the character at location 12 in codes2, which is +. When decrypting, do the same thing in reverse (search codes2 for the index of the character you are decrypting and replace it with the character in the same location in codes1).Here are some sample runs of the completed program:Enter some text: Calculator
Enter 1 for encrypt and 2 for decrypt: 1
@~-@`-~;}
Enter some text: @~-@`-~;}
Enter 1 for encrypt and 2 for decrypt: 2
CALCULATOR
Enter some text: My Calculator
Enter 1 for encrypt and 2 for decrypt: 1
+, @~-@`-~;}
Enter some text: +, @~-@`-~;}
Enter 1 for encrypt and 2 for decrypt: 2
MY CALCULATOR
Berkshire Community College Python Encryption Setting Exam Practice

## Pestel’s The Russian Truth

Pestel’s The Russian Truth.

Write an overview of Pestel’s “The Russian Truth”-Focusing on why he wanted to reduce the imperial diversity of population, territories, languages, and cultures in order to implement his republican scenario (parliament and equal rights). -Also focus on the problem of how empire makes (in the minds of many reformers and revolutionaries, from emperors to Decembrists to leftist radicals) “democracy” impossible. -This is the same problem we are tackling in our contemporary societies: how to reconcile the diversity of interests, cultures, religions, genders and so on and universalizing ideas about how “just”, “liberal” and “democratic” politics should be organized. Analyze carefully.
Pestel’s The Russian Truth

## Managing Change, Balanced Scorecard Report

### Essay Writing at Online Custom Essay

5.0 rating based on 10,001 ratings

Rated 4.9/5
10001 review

Review This Service

Rating: