Commit deb61566 authored by Ayush Sharma's avatar Ayush Sharma
Browse files

Fix

parent b1feb068
Pipeline #449369212 passed with stage
in 43 seconds
......@@ -14,7 +14,17 @@ When I was in high school, one of the very first programming languages I was int
Fortunately, the Logo programming language is available today as a Python package. So let's jump right in, and you can discover the possibilities with Logo as we go along.
## Installing the Turtle package
Logo is available as the [`turtle` package for Python](https://docs.python.org/3.7/library/turtle.html). It's part of the Python Standard Library so there's no need to install it, but since it relies on `tkinter` for the graphics, you'll need `tkinter` libraries installed. If you run into `ModuleNotFoundError: No module named '_tkinter'`, you can install the library on Ubuntu using `sudo apt-get install python3-tk` or on Mac OS X using `brew install python-tk`.
Logo is available as the [`turtle` package for Python](https://docs.python.org/3.7/library/turtle.html). It's part of the Python Standard Library so there's no need to install it separately.
The package relies on `tkinter` for the graphics which does need to be installed. If you run into `ModuleNotFoundError: No module named '_tkinter'`, you can install the library using:
```bash
# Ubuntu
sudo apt-get install python3-tk
# Mac OS X
brew install python-tk
```
### Bob draws a square
With the `turtle` package installed, let's draw some basic shapes.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment