B: Loops and Functions

Creating a square the long way

As these programs are short you need to open Python Idle and type and run them

 

Using a loop to create a square

 

Using Functions to repeat Code

Type and run the following code

 

Now add the following extra code and run again

 

EXTENSION

Extend the code to add more squares