Entry level python: Practice with while loop, strings, Booleans, accumulator pattern, encoding and decoding.
$10-30 USD
I përfunduar
Postuar over 8 years ago
$10-30 USD
Paguhet në dorëzim
Bid after you take a look at the requirement:
Practice designing Python functions. Understand numeric representation and modular arithmetic. Practice with while loop, strings, Booleans, accumulator pattern, encoding and decoding.
Decoding the Alphacode
The alphabetic code you implemented in Project 3.2 can't really help unless we also have a way to convert the alphacode word back into the original number. In this project, you will write a program to decode a correctly formatted alphacode word to retrieve the original PIN or other number. If the input alphacode is not correctly formatted (i.e., consonant-vowel pairs), then the program should print a useful error message.
As for the decryption function in Project 3.1, decoding an alphacode will require undoing each step of the encoding algorithm.
For example, start by converting the alphacode (e.g., 'lohi' into two-character chunks. For each two character pair, find the location of the consonant part and the vowel part in the consonant and vowel strings (the same ones that were used in alphaencode).
Then, those numbers will be used to recreate the original number: multiply the consonant number by five to reverse the integer division, and then add back the remainder (vowel number).
Hello, I am a software developer and I have experience with programming homework. I have read your images and checked the code, and I know we can get all points for this without a problem.
If you have any questions send me a message.
Here is my CV:
[login to view URL]
$25 USD në 1 ditë
5,0 (1 review)
0,8
0,8
5 profesionistët e pavarur ofrojnë mesatarisht $27 USD oferta për këtë punë
I will create the functions that decode the text that is encrypted with an alphacode. However, to start I will need the function you have already implemented in project 3.2 because it is needed to be able to see what the requirements are referring to!