2

High-Speed Introduction to Python

This chapter introduces Python and demonstrates how to write a program in Python to solve the type of problem we described in Chapter 1. We are not going to delve deeply into Python in this chapter, but we will cover Python sufficiently to enable you to simulate and modify a computer to incorporate your own ideas.

Traditionally, a computer program has been compared to a cookery recipe because they are analogous. Strictly speaking, this statement applies only to procedural languages such as Python, Java, and C. Functional languages such as Lisp do not conform to this strictly sequential paradigm and are beyond the scope of this text

A recipe is a sequence of operations (i.e., actions or steps) that are carried ...

Get Computer Architecture with Python and ARM 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.