Skip to content

Commit fcf6f69

Browse files
authored
Merge pull request #4 from gjbex/development
Development
2 parents f27bb24 + 49d34b2 commit fcf6f69

13 files changed

+5723
-162
lines changed

docs/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ If you plan to do Python programming in a Linux or HPC environment you should
6161
be familiar with these as well.
6262

6363

64+
## Level
65+
66+
* Introductory: 40 %
67+
* Intermediate: 40 %
68+
* Advanced: 20 %
69+
70+
6471
## Trainer(s)
6572

6673
* Geert Jan Bex ([[email protected]](mailto:[email protected]))

environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: python_for_programmers
22
channels:
3-
- defaults
3+
- conda-forge
44
dependencies:
55
- python
66
- jupyterlab
77
- matplotlib
8-
prefix: /home/gjb/miniconda3/envs/python_for_programmers
8+
prefix: /home/gjb/mambaforge/envs/python_for_programmers

python_for_programmers_linux64_conda_specs.txt

Lines changed: 241 additions & 140 deletions
Large diffs are not rendered by default.

source_code/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ certain subtle points.
1313
1. `dice.ipynb`: modelling throwing two dice and visualizng the results.
1414
1. `dynamic_programming.ipynb`: some illustrations of using memoization and
1515
dynamic programming to efficiently solve mathematical problems.
16-
1. generations.ipynb`: searching for the most recent common ancestor and the
16+
1. `generations.ipynb`: searching for the most recent common ancestor and the
1717
identical ancestor generation.
1818
1. `hundred_prisoners.ipynb`: implementation of the solution to the "hundred
1919
prisoners` puzzle.
@@ -36,4 +36,16 @@ certain subtle points.
3636
problem.
3737
1. `flatten.ipynb`: `itertools.chain` may not flatten a data structure as you might
3838
expect or want.
39-
1. `ocean_view.ipynb`: compute which buildings have an ocean view.
39+
1. `matrix_rotation.ipynb`: rotate a matrix over 90 degrees.
40+
1. `ocean_view.ipynb`: compute which buildings have an ocean view.
41+
1. `cookie_monster.ipynb`: find the slowest eating rate for the cookie monster.
42+
1. `compute_pi.ipynb`: compute the value of pi, taking into account round-off
43+
errors.
44+
1. `iterative_binary_trees.ipynb`: using iteration rather than recursion to traverse
45+
binary trees.
46+
1. `quad_tree.ipynb`: implementation of a quad tree and comparison to naive
47+
approach.
48+
1. `cycles.ipynb`: find cycles in periodic functions. Naive vs. approach using
49+
dictionaries, vs. Floyd's algorithm.
50+
1. `ocean_view.ipynb`: compute which buildings have an ocean view.
51+
1. `fibonacci.ipynb`: comparison of various implementations of the Fibonacci fucntion.

source_code/compute_pi.ipynb

Lines changed: 213 additions & 0 deletions
Large diffs are not rendered by default.

source_code/conway_say_and_tell.ipynb

Lines changed: 215 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)