Python Homework #10

Instructions:

Remember: Use chr and ord to write the following functions:
  1. Write a function shiftOne(someText). someText is a string consisting of only uppercase characters. The function should return the same text, but with each character shifted up by one in the alphabet, wrapping around after Z.
    # shiftOne("HAL") -> "IBM"
    # shiftOne("BZDRZQ") -> "CAESAR"
    

  2. Write a function shiftN(someText, n). someText is a string consisting of only uppercase character, n is an integer. The function should return the same text, but with each character shifted up n positions in the alphabet, wrapping around after "Z"
    # shiftN("ABC", 25) -> "ZAB"
    # shiftN("ABC", 26) -> "ABC"
    # shiftN("KZNEXFGURFCBG", 13) -> "XMARKSTHESPOT"