Appendix B.  Python tips and tricks

After following the set-up instructions in appendix A, you should be able to run Python code on your computer. If you’re new to Python, the next step is to learn some of the language features. If you haven’t seen any Python before, don’t sweat! It’s one of the simplest and easiest-to-learn programming languages out there. Plus, there are many excellent online resources and books to help you learn the basics of Python programming, and the website python.org is a great starting point.

This appendix assumes you’ve tinkered around with Python a bit and are comfortable with the basics: numbers, strings, True and False, if/else statements, and so on. To make this book as accessible as possible, I’ve avoided using ...

Get Math for Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.