Shift each letter in a string by a given number of positions in the alphabet.
Constraints
Example
>>> caesar_cipher("abc", 1)
'bcd'
>>> caesar_cipher("XYZ", 3)
'ABC'
>>> caesar_cipher("Hello, World!", 5)
'Mjqqt, Btwqi!'
>>> caesar_cipher("abc", -1)
'zab'
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints