Week Name Description
Page Installation of Python

This is a guide for installing python and pygame to your operating system. 

For the purpose of this lessons the installation procedure guides you to install python version 3.x and pygame version 1.9.x

Page Extra Resources

These are some extra resources that you can use to go further than our course. 

Page Project Euler

Project Euler


Week 1 - May 6 File Think Python - Allen Downey - Green Tea Press - 2nd Edition, Version 2.2.20

This is a book for learning Python and "How to Think Like a Computer Scientist". It starts from the beginning (what is a program) and goes up to high level analysis of algorithms. It is published under Creative Commons Attribution-NonCommercial 3.0 Unported License, and you can find it with other books of the author in the authors web site http://greenteapress.com/wp/think-python-2e/

URL Online Python Shell

In case that you haven't installed python, you can use the python's online CLI.

Book Week 1 - Section 1 - Input and Output

In the first section of the first week we will learn how to send the output of a program to the screen and how to read from the keyboard.

Book Week 1 - Section 2 - Controlling the flow v1

In this second section we will start to learn how to control the flow of the algorithm using the if statement 

Page Assignment 1.1 - Answer

You can view a sample answer of the code for calculating the area of a trapezoid. 

Page Assignment 1.2 - Answer

You can view a sample answer of the code for calculating the solutions of the quadratic equation. I am sure that you have made a good effort and many of you surprised us.

Week 2 - May 14 Page Welcome to 2nd week
Book Week 2 - Section 0 - Repetition is the mother of knowledge

Concepts of week one repeated.

File Worksheet 01

This is a worksheet with 21 extra exercises.

Book Week 2 - Section 1 - Controlling the flow v2

In this second section we will start to learn how to control the flow of the algorithm using the if statement 

Page Temperature solution W2S1P1
Solution of W2S1P1
Page Greatest of three solution W2S1P2

Solution of greatest of three 

Page Nested Loops solution W2S1P3

Nested Loops solution W2S1P3

File Worksheet 02
This is a worksheet with 11 extra exercises.
Page Assignment 2.1 - Answer

You can view a sample answer of the code for playing 'Heads' or 'Tails'

Page Assignment 2.2 - Answer

You can view a sample answer of the code for playing 'Rock', 'Paper' or 'Scissors'

Week 3 - May 20 Page Welcome to 3rd week

Welcome to 3rd week

Book Week 3 - Section 0 - Those who forget the lessons of Python are doomed to repeat them :-)

In this section we will learn about lists and tuples and we will scratch the surface of pygame. Be prepared for excitement.

Book Week 3 - Section 1 - Data types and a bit of gaming

In this section we will learn about lists and tuples and we will scratch the surface of pygame. Be prepared for excitement.

Page Sum of a list W3S1P1
Solution of W3S1P1
Page Name and Color W3S1P2
Solution of W3S1P2


File Worksheet 03

This is a worksheet with 11 extra exercises in loops

Book Week 3 - Section 2 - Graphics

In this section we will learn about Graphics

File Pygame Basic Template

Pygame Basic Template

File Moving Rectangle

Moving Rectangle

File Bouncing Square

Bouncing Square

File Assignment 3.1 - Answer

How to bounce a ball in Pygame 

Week 4 - May 27 Page Welcome to 4th week

Welcome to 4th week

Book Week 4 - Section 1 - Graphics

In this section we will learn about Graphics

File Pygame Basic Template

Pygame Basic Template

File Moving Rectangle

Moving Rectangle

File Bouncing Rectangle

Bouncing Rectangle

File Moving Stick Figure

Moving Stick Figure 

File Worksheet 04

This is a worksheet with 5 extra exercises in drawing and moving objects 

Book Week 4 - Section 2 - The Game

In this section we will learn about Graphics

File Spaceship PNG

Spaceship PNG 

File Meteor PNG

Meteor PNG

File Avoid the Rocks 0.1

Avoid the Rocks 0.1

File Avoid the Rocks 0.2

Avoid the Rocks 0.2 

File Avoid the Rocks 0.9

Avoid the Rocks 0.9

File Avoid the Rocks - Final

Avoid the Rocks - Final

File Certificate