HW0.7: Learn Some Python Basics
If you're already familiar with Python, you may skip this step.
This step assumes you've already done HW0.2, HW0.3, and HW0.6.
There are a number of resources available online for learning Python. Take a look at all of these, pick a couple that appeal to you, and dive in!
- How to Think Like a Computer Scientist is an online, interactive textbook that introduces CS using Python. Coding exercises are integrated directly into the webpage. Speed through the general CS ideas that you already understand, and focus instead on learning Python syntax.
- CodeCademy's Python course is an interactive intro to programming in Python. The pace might be a little slow, but it’s nicely designed and easy to follow.
- PythonTutor is an online Python editor and interpreter. You can write your own code and press the “Visualize Execution” button, and it will run. To get started, take a look at the Python examples posted a little further down that page.
- The repl.it Python tool is a simpler online Python editor and interpreter. There's not much in the way of tutorials (just a few little examples at the “Examples” link), but it's a great interface for experimenting with Python.
- Google's Python Class is accessible and quick, and you can use either of the editors above (or your own!) to work through it. Skip the stuff about reading files and working with data over the web.
Once you've picked up the basics, go on to the next step to do some practice problems.
⟵ Back to the main assignment