Skylight home

O Coding in Python home page
O Test Package
O What teachers say...
O Purchase online
O Order form

 


Coding in Python
and Elements of  
Discrete Mathematics

cover

Maria Litvin and Gary Litvin

    Copyright © 2019 by Skylight Publishing.
    424 pages.  Dimensions 7.375" x 9.25" x 1.1".  Hard cover.

    ISBN 978-0-9972528-4-2     Price: $49.95; schools $39.95.

    e-Book: $49.95 / lifetime; $39.95 / one year.

    Test Package, Part No. 978-0-9972528-P-T.


    Contents and Preface
    Chapter 1. An Introduction to Computers and Coding in Python
    Chapter 2. Variables and Arithmetic
    Chapter 3. Sets and Functions
    Chapter 4. Algorithms and while and for Loops
    Chapter 5. Strings, Lists, Dictionaries, and Files
    Chapter 6. Number Systems
    Chapter 7. Boolean Algebra and if-else Statements
    Chapter 8. Digital Circuits and Bitwise Operators
    Chapter 9. Turtle Graphics
    Chapter 10. Sequences and Sums
    Chapter 11. Parity, Invariants, and Finite Strategy Games
    Chapter 12. Counting
    Chapter 13. Probabilities
    Chapter 14. Vectors and Matrices
    Chapter 15. Polynomials
    Chapter 16. Recurrence Relations and Recursion
    Chapter 17. Graphs
    Chapter 18. Number Theory and Cryptology
    Appendices
    Index

On the back cover

This book is a “Python early” remake of the Litvins’ book Mathematics for the Digital Age and Programming in Python, which has been used with great success in high school and college courses and in enrichment programs for middle school students.

Written in the same engaging not-for-dummies style as the Litvins’ earlier books, Coding in Python and Elements of Discrete Mathematics will teach you essential coding skills in Python and also build your appreciation for the mathematics relevant to computing.

“I told my principal: You usually don t say of a text that it s beautiful, but this one is.  This is a beautiful text.” — Michel Paul, Beverly Hills High School

“I do not write reviews as a rule, but this book is worth it!  You can actually learn the various aspects of math as well as Python programming.  This will come in real handy when programming Python on a higher level.  I am a new programmer, and a book like this was sorely needed!” — Willis Cook, Pittsburg, CA, Amazon reviewer

“It is a wonderful book containing number theory and much more math.  The explanations will be understood by the average high school student as well as the honor student.  The programming examples and problems will challenge all students.” — Earl J. Strassberger, Chicago Public Schools

“Perfect textbook for my high school discrete math/intro to computer science class. ... If you’re trying to figure out how to teach an Intro to Comp Sci class without resorting to just programming in Java, you need to take a serious look at this book!” — Thomas E Ward, Amazon reviewer


What teachers say...




From: Mike Fritz
To: Skylight Publishing <support@skylit.com>
Date: Mon, Jun 23, 2025 at 2:27 PM

I'm really enjoying the book. I really like the way it has been structured, and I love the inclusion of the chapters on math topics. It's an outstanding text.

Mike Fritz, Owen J Roberts High School, PA




From: Ray Hendrickson
To: Skylight Publishing <support@skylit.com>
Date: Sun, 31 Jan 2010 16:25:43 -0500
Subject: Ray Hendrickson - Pennsbury

As I mentioned to you earlier, we thoroughly enjoyed and had a great deal of success with your text this Fall.  I am now using the texts for our Advanced Programming class.

Ray Hendrickson, Pennsbury High School, PA




Date: Fri, 29 Jan 2010 18:40:23 -0800
From: michel paul
To: edu-sig@python.org
Subject: Re: [Edu-sig] Math + Python: reviewing some themes (long)

Oh, but first - if this course does happen I'll be using the Litvins' Math for the Digital Age.  I love that book.  I told my prinicipal, "You usually don't say of a text that 'It's beautiful', but this one is.  This is a beautiful text."

Michel Paul, Beverly Hills High School, Beverly Hills, CA




Date: Wed, 27 Jan 2010 21:05:20 -0800
From: kirby urner
To: edu-sig@python.org
Subject: [Edu-sig] Math + Python: reviewing some themes (long)

I just think "digital math" (whatever we call it) is hovering in the global Zeitgeist these days, MFTDA [Mathematics for the Digital Age and Programming in Python] another harbinger, a positive sign on the horizon.

Kirby Urner, Consultant, Oregon Schools




From: Ray Hendrickson
To: Skylight Publishing <support@skylit.com>
Date: Thu, 22 Oct 2009 06:59:41 -0400
Subject: RE: Math and Python 3

We could not be more pleased [with your Math and Python book].  We are finding out that our students are progressing much faster by starting with Python than with either VB.net or C++, which is what we had been using.  will discuss the updated text with our staff soon and the teacher materials as well!  We have been "sold" on Skylight Publishing for a long time and it is continuing! 

Ray Hendrickson, Pennsbury High School, PA




From: Roberto Catanuto
To: Skylight Publishing <support@skylit.com>
Date: Fri, 09 Jan 2009 23:10:56 +0100
Subject: Re: download information

There's a deep need for the topics you developed in your book that's why i am trying to let them be studied in our schools.

Also, i am designing a short summer course for high school students where i will entirely talk about discrete math and programming in python, mainly using your book.

Roberto Catanuto, Ph.D., Department of Mathematics and Computer Science,
University of Catania, Catania, ITALY




Great Book On Math & Python Programming (amazon.com review)

I do not write reviews as a rule, but this book is worth it!  You can actually learn the various aspects of math as well as python programming.  This will come in real handy when programming python on a higher level.  I am a new program and a book like this was sorely needed!

Willis Cook, Pittsburg, CA




A beautiful book on math with programming as a bonus (amazon.com review)

It is a wonderful book containing number theory and much, more math.  The explainations will be understood by the average high school student as well as the honor student.  The programming examples and problems will challenge all students.  Using Python as the language removes the complexity of a language like Java.  This allows students to do the programming while concentrating on the math.

Earl J. Strassberger - Chicago Public Schools


Skylight Publishing
support@skylit.com