# Build a Caesar Cipher - Step 10

**URL:** <https://forum.freecodecamp.org/t/build-a-caesar-cipher-step-10/799581>\
**Category:** Curriculum Help\
**Tags:** python\
**Created:** [September 6, 2026, 10:55pm UTC](https://forum.freecodecamp.org/t/build-a-caesar-cipher-step-10/799581 "2026-09-06T22:55:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makogw](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@Makogw](https://forum.freecodecamp.org/u/Makogw)\
**Post date:** [September 6, 2026, 10:55pm UTC](https://forum.freecodecamp.org/t/build-a-caesar-cipher-step-10/799581/1 "2026-09-06T22:55:46Z")

</div>

### Tell us what’s happening:

i am not sure what i am doing wrong every time i try to check the code it says “You should move all the code you wrote so far within the caesar function body. Make sure you keep the same indentation level for all of the lines within the function body…”

### Your code so far

```py
# User Editable Region
def caesar():
    print(caesar)
    alphabet = 'abcdefghijklmnopqrstuvwxyz'
    shift = 5
    shifted_alphabet = alphabet[shift:] + alphabet[:shift]
    translation_table = str.maketrans(alphabet, shifted_alphabet)
    text = 'hello world'
    encrypted_text = text.translate(translation_table)
    print(encrypted_text)
# User Editable Region

```

### Your browser information:

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:154.0) Gecko/20100101 Firefox/154.0`

### Challenge Information:

Build a Caesar Cipher - Step 10

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/python-v9/workshop-caesar-cipher/step-10)**
>
> Learn to Code — For Free

GitHub Link: [freeCodeCamp/curriculum/challenges/english/blocks/workshop-caesar-cipher/6810891bd6de8a87a833df42.md at main · freeCodeCamp/freeCodeCamp · GitHub](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/workshop-caesar-cipher/6810891bd6de8a87a833df42.md)

---

<div class="post-metadata">

**Author:** ![Teller](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teller/32/412338_2.png) [@Teller](https://forum.freecodecamp.org/u/Teller)\
**Post date:** [September 7, 2026, 3:52am UTC](https://forum.freecodecamp.org/t/build-a-caesar-cipher-step-10/799581/2 "2026-09-07T03:52:32Z")

</div>

Welcome to the forum @Makogw

Try removing this `print` call:

> [@Makogw](#):
>
> `print(caesar)`

Happy coding
