Practical Coding in Python

Learn to write and validate your own code

Darren Kessner, PhD

(revised September 1, 2025)

Previous: About the author

0. Hello, world!

This zeroth chapter is a quick overview of Python syntax.

If you have experience coding in a Java-like language (C/C++, Processing, Arduino), pay extra attention to the differences between Java and Python, which I’ve noted in the comments of the code examples.

One of your main goals this chapter is to write a FizzBuzz program (see Coding Exercises).


Next: