mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
833 B
833 B
id, title, challengeType, dashedName
| id | title | challengeType | dashedName |
|---|---|---|---|
| 680a3d4c065557260de2ff33 | Step 1 | 20 | step-1 |
--description--
In this workshop, you will create a program called caesar cipher which is an encryption method that shifts letters in the alphabet to encode messages.
Start by creating a variable called shift and assign the value 5 to your new variable.
--hints--
You should declare a variable called shift. Pay attention to place the variable name at the beginning of the line.
({ test: () => assert(runPython(`_Node(_code).has_variable("shift")`)) })
You should assign the value 5 to your shift variable.
({ test: () => assert(runPython(`_Node(_code).find_variable("shift").is_equivalent("shift = 5")`)) })
--seed--
--seed-contents--
--fcc-editable-region--
--fcc-editable-region--