def encrypt():
    cipher_text = ''
    for index in range(len(plain_text)):
        let = plain_text[index]
        if let.isspace():
            cipher_text += " "
        elif let.isupper():
            cipher_text += chr((ord(let) + int(shift) - 65) % 26 + 65)
        else:
            cipher_text += chr((ord(let) + int(shift) - 97) % 26 + 97)

    return cipher_text


print(" ------------------------------ ")
print("|         Caesar Cipher        |")
print(" ------------------------------ ")
plain_text = input("The Plain Text : ")
shift = int(input("Key : "))
print("The Cipher Text : " + encrypt() )
7eb4d086946e877ccb75955fb840fb15c34827f5
<mask token>

def encrypt():
    cipher_text = ''
    for index in range(len(plain_text)):
        let = plain_text[index]
        if let.isspace():
            cipher_text += ' '
        elif let.isupper():
            cipher_text += chr((ord(let) + int(shift) - 65) % 26 + 65)
        else:
            cipher_text += chr((ord(let) + int(shift) - 97) % 26 + 97)
    return cipher_text


<mask token>

def encrypt():
    cipher_text = ''
    for index in range(len(plain_text)):
        let = plain_text[index]
        if let.isspace():
            cipher_text += ' '
        elif let.isupper():
            cipher_text += chr((ord(let) + int(shift) - 65) % 26 + 65)
        else:
            cipher_text += chr((ord(let) + int(shift) - 97) % 26 + 97)
    return cipher_text


print(' ------------------------------ ')
print('|         Caesar Cipher        |')
print(' ------------------------------ ')
<mask token>
print('The Cipher Text : ' + encrypt())

def encrypt():
    cipher_text = ''
    for index in range(len(plain_text)):
        let = plain_text[index]
        if let.isspace():
            cipher_text += ' '
        elif let.isupper():
            cipher_text += chr((ord(let) + int(shift) - 65) % 26 + 65)
        else:
            cipher_text += chr((ord(let) + int(shift) - 97) % 26 + 97)
    return cipher_text


print(' ------------------------------ ')
print('|         Caesar Cipher        |')
print(' ------------------------------ ')
plain_text = input('The Plain Text : ')
shift = int(input('Key : '))
print('The Cipher Text : ' + encrypt())

def encrypt():
    cipher_text = ''
    for index in range(len(plain_text)):
        let = plain_text[index]
        if let.isspace():
            cipher_text += " "
        elif let.isupper():
            cipher_text += chr((ord(let) + int(shift) - 65) % 26 + 65)
        else:
            cipher_text += chr((ord(let) + int(shift) - 97) % 26 + 97)

    return cipher_text


print(" ------------------------------ ")
print("|         Caesar Cipher        |")
print(" ------------------------------ ")
plain_text = input("The Plain Text : ")
shift = int(input("Key : "))
print("The Cipher Text : " + encrypt() )