Name your functionality cipher(term, shift), which accepts a string to encrypt, and an integer number of positions during the alphabet by which to change each letter.
Once you learn about for loops in Python, you know https://mazkingin.com/practice-challenge-questions-for-python-beginners/