Learn to Code
Each year Oxford University CompSoc runs an introductory programming course in Python. This repositories contains all of the code samples used in the 2018 course.
To run these code samples you will need Python 3. For the sessions we
recommend using IDLE, a piece of software which comes pre-installed with
Python. Alternatively you can run the samples in a terminal via
If you can't get Python installed on your computer, we recommend using this online environment instead.
Each folder contains some notes on what we did during the session, exercises, and their solutions.
Table of Contents
|Session 0: Installing Python||N/A||Notes||N/A||N/A|
|Session 1: Python syntax, variables, if statements, for loops||2||Notes||Slides||Video|
|Session 2: While loops, functions, recursion||3||Notes||Slides||Video|
|Session 3: Lists||4||Notes||Slides||Video|
|Session 4: Lists (cont.) and Dictionaries||5||Notes||Slides||Video|
|Session 5: Dictionaries, stacks, and where to go next||6||Notes||Slides||Video|