We also have other code bundles from our rich catalog of books and videos
available at https://github.com/PacktPublishing/. Check them out!
Conventions used
There are a number of text conventions used throughout this book.
Code in text: Indicates that words in text are not plain English words, but
are words belonging to a program.
The break instruction breaks out of the while loop (that is, execution
continues beyond the end of the loop - it’s a sort of short-circuit
mechanism).
In order to draw your attention to features in code, we sometimes use bold
font or shading to highlight features. Consider the following example:
The text following # is in a non-monospaced font and is a comment ignored
by the computer:
for i in range (0,6): # Repeat six times
Get in touch
Feedback from our readers is always welcome.
General feedback: If you have questions about any aspect of this book,
email us at
[email protected] and mention the book title in the
subject of your message.
Errata: Although we have taken every care to ensure the accuracy of our
content, mistakes do happen. If you have found a mistake in this book, we