Your question is Encrypt String With Shift. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Hitachi Vantara tools may need lightweight text transformations for demonstrations or test fixtures. Implement a Caesar-shift function that encrypts an ASCII string by moving each alphabetic character forward by a given integer shift.
a through z and uppercase letters within A through Z.z or Z.text, a string, and shift, an integer.def encrypt_string(text, shift):