DEV Community

I Want To Learn Programming
I Want To Learn Programming

Posted on

Code Challenge of the Day — Decode a Caesar cipher (medium)

Picks up where Caesar cipher left off.

You encoded with a Caesar shift. Now reverse it: shift each lowercase letter back by k.
Write caesar_decode(s, k).

Starter:

def caesar_decode(s, k):
    # TODO
    pass
Enter fullscreen mode Exit fullscreen mode

Solve it interactively in your browser (no setup), check your answer instantly, and keep your daily streak going on IWTLP: https://iwtlp.com/challenge

Top comments (0)