can someone please help me with this task plaese?
" a. Write a function that accepts text until Enter is entered and encrypts letters as follows: Each letter is encrypted by a 2-digit number (a is encrypted by 01, b by 02 and so on ... z is encrypted by 26) and the numbers in the output are printed without Spaces between them. For example, a dog will be encrypted like this: 01041507. The function will ignore any character that is not a large or small Latin letter.
B. There is a write function that decodes what is encoded in a. Ie its input will be digits (until Enter), so that each pair represents a Latin letter and the function prints it to the screen. It is assumed that the input is correct and each pair of digits is a number between 01 and 26. (Note that each pair of characters that represent digits must be converted into an int type)"