What is the difference between ciphers and codes?
Cipher
{'answer_start': array([0]), 'answer_text': array(['Codes generally substitute different length strings of characters in the output, while ciphers generally substitute the same number of characters as are input'],
      dtype=object)}
Codes generally substitute different length strings of characters in the output, while ciphers generally substitute the same number of characters as are input.  There are exceptions and some cipher systems may use slightly more, or fewer, characters when output versus the number that were input.