Home‎ > ‎ICT Programming‎ > ‎Python‎ > ‎

MIT Course


Project 1 - Hangman

Handout (PDF)

Source Files

hangman_template.py (PY)

words.txt (TXT)

Optional extension:

hangman_lib.py (PY)

hangman_lib_demo.py (PY)



Day 2

Conditionals & Loops - Intro

How to comment code properly (PDF)

height_example.py (PY)

conditional_examples.py (PY)

loop_examples.py (PY)


Assignment

Handout (PDF)

Written exercises (Word Doc) <- Hand this in

Code template (PY)

nims.py (PY)

strings_and_lists.py (PY)


Readings

Sections 4.1, 4.2, 4.4-4.7, and 6.1-6.2

Chapter 4: Conditionals and recursion  &  Chapter 6: Iteration




Day 1

Lecture Notes - Getting Started

Download: Source Code (.py file)

Readings: Chapter 1  &  Chapter 2


Assignment 1 - Written Exercises <- hand this in

Code Template (.py file)

Comments