I created a small program using the ASCII table. I am encrypting the string the user inputs. What I'm confused about is the "\" is its division? Or what is it separating?
plainText = input("Enter a one-word, lowercase message: ")
distance = int(input("Enter the distance value: "))
code = ""
for ch in plainText:
ordValue = ord(ch)
print(1, ordValue)
print(2, ch)
cipherValue = ordValue + distance
print(3, cipherValue)
if cipherValue > ord('z'):
# what does "\" stand for
cipherValue = ord('a') + distance - \
(ord('z') - ordValue + 1)
print(4, cipherValue)
code += chr(cipherValue)
print(5, code)