Skip to content

nyjc-computing/intro-to-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro to Python

Jupyter Notebook exercises for Python beginners

Binder
Click “launch binder” above to launch the exercises in Binder, a read-only environment for Jupyter Notebooks. This means that your progress will be erased when the browser tab is closed. Please download the notebook files you wish to keep: right-click on the file and click "Download".

These exercises for Python beginners are part of a guided lesson package for H2 Computing students.

The exercises are provided here, sans guidance.

Lessons

The following topics are covered:

Basic

  1. Basic operators and data types
  2. Data manipulation
  3. Decision-making and branching; advanced formatting
  4. Lists; Iteration and looping
  5. Functions; File IO
  6. Standard libraries; while loops; files and directories; keyword arguments and default parameters

Advanced

  1. dict; tuple; set
  2. Recursion
  3. Advanced functions; program testing; handling errors

Algorithms

  1. Accumulator
  2. Ratchet
  3. Search (Linear and Binary)
  4. Tokenisation
  5. Greedy
  6. Hash Table