import string


def rotate(sentence, shift):
    # Creates shifted cipher
    cipher = string.ascii_lowercase[shift:] + string.ascii_lowercase[:shift] +\
        string.ascii_uppercase[shift:] + string.ascii_uppercase[:shift]
    # Creates translator to shift sentence
    translator = str.maketrans(string.ascii_letters, cipher)
    # Returns shifted sentence
    return sentence.translate(translator)

bd44758a3a86a3711f0835c6c960488514cf386a
<mask token>

<mask token>


def rotate(sentence, shift):
    cipher = string.ascii_lowercase[shift:] + string.ascii_lowercase[:shift
        ] + string.ascii_uppercase[shift:] + string.ascii_uppercase[:shift]
    translator = str.maketrans(string.ascii_letters, cipher)
    return sentence.translate(translator)

import string


def rotate(sentence, shift):
    cipher = string.ascii_lowercase[shift:] + string.ascii_lowercase[:shift
        ] + string.ascii_uppercase[shift:] + string.ascii_uppercase[:shift]
    translator = str.maketrans(string.ascii_letters, cipher)
    return sentence.translate(translator)

import string


def rotate(sentence, shift):
    # Creates shifted cipher
    cipher = string.ascii_lowercase[shift:] + string.ascii_lowercase[:shift] +\
        string.ascii_uppercase[shift:] + string.ascii_uppercase[:shift]
    # Creates translator to shift sentence
    translator = str.maketrans(string.ascii_letters, cipher)
    # Returns shifted sentence
    return sentence.translate(translator)
