Answer:
- custom_encoded = ""
- custom_message = "this is a pen"
- custom_encoding = {
- "a": "1",
- "e": "2",
- "i": "3",
- "o": "4",
- "u": "5"
- }
-
- for c in custom_message:
- if(c in custom_encoding):
- custom_encoded = custom_encoded + custom_encoding[c]
- else:
- custom_encoded = custom_encoded + c
-
- print(custom_encoded)
Explanation:
The solution code is written in Python 3.
Let's define a variable custom_encoded with an empty string (Line 1).
Create another variable custom_message and set a sample string to it (Line 2).
Create one more variable custom_encoding to hold the mapping values between vowel and their respective encoded character (Line 3-9).
Create a for loop to loop through all the character in custom_message (Line 11) and in the loop check if the current character is found in custom_encoding dictionary, if so, use the current character to loop up the dictionary for the encoded value and add the encoded string to custom_encoded (Line 12-13). Otherwise, just add the current character to custom_encoded (Line 14-15).
At the end, print the custom_encoded to terminal and you shall get th3s 3s 1 p2n
The very first thing that we should select if we are using an address Block or Greeting Line is to Start Mail Merge. The second step would be to Edit Recipient List. In the Mail Merge Recipients dialog box, we then select the recipient whose record is to be included in the merge.
The error in this program above is that All the blocks should be in one connected stack to function.
<h3>What are the errors in a program?</h3>
In the act of developing a programs there are some kinds of error that can take place such as syntax errors, logic errors and others.
Note that in the program above, The error in this program above is that All the blocks should be in one connected stack to function and thus there is an error.
Learn more about program from
brainly.com/question/1538272
#SPJ1
to increase the computer's efficiency
Explanation
The more files it holds, the more "jobs" it has to run, which means that you're computer would be using the same amount of energy running all of them as to less of them. When you close (or delete) some files, it allows the computer to concentrate on only running a smaller amount of files as oppose to a large amount.
hope it helps!