Introduction

The lessons for M01 concentrate on making sure you understand the basics of coding and running Python programs.

Assignment Requirements and Examples Below

Chapter 1: Exercise #1

Exercise 1: display a simple statement in the Python interpreter

Start the Python interpreter. At the >>> prompt, type a statement like the following and then press [Enter]:

print('My test of the Python interpreter by Your Name.') [Enter]

For example:

M01 Exercise 1 example

Figure 1: M01 Exercise #1 Sample Output For Python Interpreter

Chapter 1: Exercise #2

Exercise 2: display a simple statement in a Python editor

Use an editor like Idle or Notepad++ to display the same statement above. Examples:

IDLE:

M01 Exercise 1 - IDLE

Figure 2: M01 Exercise #2 Sample Output For IDLE

Notepad++

M01 Exercise 1 - Notepad++

Figure 3: M01 Exercise #2 Sample Output For Notepad++