def rotational_cipher(string, number):
    letters = []
    for ch in string:
        letters.append(chr(ord(ch) + number))
    return str.join("", letters)


if __name__ == "__main__":
    line = input("Enter a string: ")
    amount = input("Enter a number: ")
    print(rotational_cipher(line, int(amount)))

c886afe170b6f04b88fa1e567c1f4d0cccae3048
<mask token>

def rotational_cipher(string, number):
    letters = []
    for ch in string:
        letters.append(chr(ord(ch) + number))
    return str.join('', letters)


<mask token>

def rotational_cipher(string, number):
    letters = []
    for ch in string:
        letters.append(chr(ord(ch) + number))
    return str.join('', letters)


if __name__ == '__main__':
    line = input('Enter a string: ')
    amount = input('Enter a number: ')
    print(rotational_cipher(line, int(amount)))

def rotational_cipher(string, number):
    letters = []
    for ch in string:
        letters.append(chr(ord(ch) + number))
    return str.join("", letters)


if __name__ == "__main__":
    line = input("Enter a string: ")
    amount = input("Enter a number: ")
    print(rotational_cipher(line, int(amount)))
