Chapter 13
How to Write and Run Code
Learning Objectives
Upon completing all the content in this chapter, you should be able to do the following:
- Write
print
statements - Understand what syntax, comments and debugging are when you are coding
- Have a better understanding of how to navigate through the terminal
Key Terminology
Here is a list of the key terms throughout this chapter based on the page they first appear on. You should make note of these.
How to Write and Run Code
What is Code?
- code
Syntax Rules
- syntax
Comments
- comment
Output with print
- console
- newline
Fixing Errors in Your Code
- debugging
Terminal
What is a terminal anyways?
- graphical user interface (GUI)
- command line interface
- terminal
- shell
Filesystems and Paths
- filesystem
- directory
- subdirectory
- root directory
- parent directory
- absolute path
- relative path
How to do stuff in the terminal
- prompt