The following code is a test Test-Driven Development exercise for Mott Fisk and Ryan Moyer.
- Practice basic
git
skills. - Practice skills developing using TDD.
- Practice basic Python data structure manipulation skills.
- Log in to your GitHub account.
- Fork my repository by following GitHub's guide to Forking a Repo.
- Clone the code from your new repository using the GitHub client.
- Run the test suite by running
python reverse_test.py
on the command-line. All tests should fail. - Complete the code in
reverse.py
such that it passes all the tests. - Add extra tests if desired!
- Commit the code locally.
- Sync the code to your repository.
- Submit a pull request to my original repository. I will help you on this.
- You may want to utilize the Python built-in
list
data type. - The str.join() method may come in handy.