A programming language is a way to give commands to a computer. These commands are written as text and when we put many commands together we call that a program. Python® is a high-level, easy-to-read, interpreted language. We will see how to install Python together with an application called PsychoPy (which will be discussed in Chapter 3). We will also see how to write simple commands, perform
... [Show full abstract] mathematical operations, and control the flow of the program with if, for and while statements.