Skip to Main Content
Math Adventures with Python
book

Math Adventures with Python

by Peter Farrell
January 2019
Intermediate to advanced content levelIntermediate to advanced
304 pages
7h 4m
English
No Starch Press
Content preview from Math Adventures with Python

1DRAWING POLYGONS WITH THE TURTLE MODULE

Centuries ago a Westerner heard a Hindu say the Earth rested on the back of a turtle. When asked what the turtle was standing on, the Hindu explained, “It’s turtles all the way down.”

image

Before you can start using math to build all the cool things you see in this book, you’ll need to learn how to give instructions to your computer using a programming language called Python. In this chapter you’ll get familiar with some basic programming concepts like loops, variables, and functions by using Python’s built-in turtle tool to draw different shapes. As you’ll see, the turtle module is a fun way to learn about ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Statistics and Calculus with Python Workshop

The Statistics and Calculus with Python Workshop

Peter Farrell, Alvaro Fuentes, Ajinkya Sudhir Kolhe, Quan Nguyen, Alexander Joseph Sarver, Marios Tsatsos, Amit Chaurasia, Rohan Chikorde, Sanjin Dedic, Tim Hoolihan, Ravi Ranjan Prasad Karn, Alberto Manzini
Math for Deep Learning

Math for Deep Learning

Ronald T. Kneusel

Publisher Resources

ISBN: 9781492071228