Skip to content

Commit

Permalink
Reorgaized image files
Browse files Browse the repository at this point in the history
  • Loading branch information
ImAKappa committed Jun 16, 2024
1 parent ebdd90b commit e24474b
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions docs/0-Getting-Started/00_language.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ Follow the installation instructions for [Thonny](https://thonny.org/) for your

Make sure to pick "Standard"

![Thonny Install](../imgs/language/thonny-install-2023-02-21.png)
![Thonny Install](./img/00_thonny_install-2023-02-21.png)


When the software is finished installing, open it. You should see something like this:

![Thonny Install](../imgs/language/thonny-app-2023-02-21.png)
![Thonny Install](./img/00_thonny_app-2023-02-21.png)

## 📝 Syntax

Expand All @@ -81,7 +81,7 @@ Hey, write the word 'apple' in uppercase letters

If you try typing this into Thonny, specifically the section of the app that says "Shell", then press `enter`:

![Python Syntax](../imgs/language/python-syntax-error-2023-03-15.png)
![Python Syntax](./img/00_python_syntax_error-2023-03-15.png)

The Python interpreter doesn't understand what we're saying, because we haven't structured the sentence correctly in the Python language. Unlike your friend, the Python interpreter won't bother to ask us to clarify or rephrase what we meant. It will give up trying to understand our instructions very quickly, but will usually tell us why it gave up.
In this case, the interpreter gave up, or **threw an error**, because it didn't understand the syntax of the instruction we provided to it. The Python interpreter doesn't speak English, it speaks Python.
Expand Down Expand Up @@ -115,7 +115,7 @@ There are lots of valid ways to ask someone to write "apple" in uppercase letter
Hey, write the word 'apple' in uppercase letters
```

![Python Syntax Part 2](../imgs/language/python-syntax-correct-2023-03-15.png)
![Python Syntax Part 2](./img/00_python_syntax_correct-2023-03-15.png)

## 💡 Semantics

Expand All @@ -136,7 +136,7 @@ Here's the same example in Python:

When you give the Python interpreter a semantically meaningless sentence, the interpreter will throw an error, but usually a different kind of error depending on what you were trying to do.

![Python Syntax Part 2](../imgs/language/semantics/python-semantic-error-2023-03-15.png)
![Python Syntax Part 2](./img/00_python_semantic_error-2023-03-15.png)

!!! note "Errors"

Expand Down
2 changes: 1 addition & 1 deletion docs/0-Getting-Started/01_programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ else:

Type it into Thonny, then run it. You can enter an age by typing it into the Shell, then pressing the `enter`/`return` key.

![Thonny interactive](../imgs/development/thonny-ide-testing-2023-02-24.png)
![Thonny exercise](./01_programming-thonny_exercise-2023-02-24.png)

i. Does the program do what it's supposed to? Why or why not? Rerun the code and try a few different ages

Expand Down

0 comments on commit e24474b

Please sign in to comment.