sortsequences / Week 5 / due 2018-02-12 23:59

Practice with sorting things with sorted().

Basically, fill out the functions so that they pass the tests. The functions are split over 3 different files (and 3 different test suites) just so that the work is more bite-sized, without the annoyance of looking over code in one big file.

Assignment notes and extensive discussion here:

https://github.com/compciv/homeworkhome/tree/master/sortsequences

Requirements

Basically, pass the tests!

When I visit your Github.com repo page

I expect your Github repo at compciv-2018-SUNETID repo to have the following subfolder:

compciv-2018-SUNETID/week-05/sortsequences/

On this subfolder’s page, I would expect the file tree to look like this:

└── sort_numbers.py
└── sort_strings.py
└── sort_people.py
└── datastubs.py

(note that datastubs.py is given to you as a file to include in your homework directory)

When I clone your Github repo

If I were to clone your repo onto my own computer, e.g.

$ git clone https://github.com/GITHUBID/compciv-2018-SUNETID.git

I would expect your homework subfolder to look like this:

compciv-2018-SUNETID/
└── week-05/
    └── sortsequences/
        └── sort_numbers.py
        └── sort_strings.py
        └── sort_people.py
        └── datastubs.py

(note that datastubs.py is given to you as a file to include in your homework directory)

Command-line setup

Creating the directory and making it your current working directory:

$ cd ~/Desktop/compciv-2018-SUNETID
$ mkdir week-05
$ mkdir week-05/sortsequences
$ cd week-05/sortsequences

The repo has a section on the curl commands for downloading the skeleton and test files:

[Setup via the command-line](https://github.com/compciv/homeworkhome/tree/master/sortsequences#cli-setup)