Exercises and projects from the Python Essentials courses by Cisco Networking Academy.
| Course | Project | Description |
|---|---|---|
| Python Essentials 1 | Tic-Tac-Toe | Console tic-tac-toe against the computer: the final project of the course. |
| Python Essentials 2 | Module exploration | Practice scripts for working with modules (math). |
A console game where you play O against the computer (X). The computer opens in the center and then picks random free squares.
+-------+-------+-------+
| | | |
| O | 2 | 3 |
| | | |
+-------+-------+-------+
| | | |
| 4 | X | 6 |
| | | |
+-------+-------+-------+
| | | |
| 7 | 8 | 9 |
| | | |
+-------+-------+-------+
There are two versions:
| File | What it offers |
|---|---|
tictactoe.py |
The base solution, written to the course specification. |
tictactoePro.py |
An improved version with ANSI colors, turn headers and a notice of the computer's move. Colors can be turned off with USE_COLORS = False. |
📄 The full problem statement and the technical requirements are in the project README.
| File | What it does |
|---|---|
tester.py |
Lists everything the math module exposes, using dir(). |
The only requirement is Python 3. No external libraries are needed.
git clone https://github.com/VictoriaRodriguezDenis/CISCO-Academy-Python.git
cd CISCO-Academy-Python
# Tic-Tac-Toe
python "Python Essentials 1/tictactoe.py"
python "Python Essentials 1/tictactoePro.py"
# Python Essentials 2
python "Python Essentials 2/tester.py"
⚠️ If the colors intictactoePro.pyshow up as strange characters, your console doesn't support ANSI codes. SetUSE_COLORS = Falseat the top of the file.
CISCO-Academy-Python/
├── Python Essentials 1/
│ ├── README.md
│ ├── tictactoe.py
│ └── tictactoePro.py
├── Python Essentials 2/
│ └── tester.py
└── README.md
Made by Victoria Rodríguez Denis while studying with Cisco Networking Academy.