Skip to content

Commit

Permalink
fix enumeration bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristian Rother committed Feb 11, 2024
1 parent 6d9811f commit 79bda59
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions first_steps/cypher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ Exercise 5: Encryption

Write a program that:

1. defines a plain and encrypted alphabet as a 26-character string
1. defines a plain and encrypted alphabet as 26-character strings
2. reads a message from the keyboard
3. defines an empty result string
3. goes through each character of the message
4. finds the position in the plain text alphabet
5. looks up that position in the encrypted alphabet
6. adds the encrypted character to the result string
7. when all characters have been processed, output the result
4. goes through each character of the message
5. finds the position in the plain text alphabet
6. looks up that position in the encrypted alphabet
7. adds the encrypted character to the result string
8. when all characters have been processed, output the result

.. hint::

Expand Down

0 comments on commit 79bda59

Please sign in to comment.