---
description: >-
  Learn how to build a decoder for the book cipher, an encoding technique used
  in the American Revolution.
---

# Case 3: Reading About the Book Cipher

We've intercepted so many encoded messages in Book Cipher, we need our own decoder tool to figure out what these messages actually say. Can you code a solution for us?

### Tools to Use:

* [ ] Python

## Activity

_The Book Cipher takes a passage of text and uses numbers for the specific paragraph, sentence, and word to identify entire words. For example, a word we're looking for could be located at paragraph 2, sentence 3, word 8. We've provided you with a passage located in "book.txt"._

_**Try this with a partner:** Create your own secret message in book cipher, and ask someone else to decode it!_

Decode this:

`(1, 5, 31)`

`(1, 9, 40)`

`(1, 1, 6)`

`(7, 4, 16)`

{% embed url="https://replit.com/@EmilyChen10/template-Book-Cipher#main.py" %}
