Skip to content

databook-analytics/python-programming-assignments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python Programming Assignments

This project serves as a common location for all assignments generated via the discover app for programming.

As Test-Driven Development (TDD) is the underlying theme, every assignment will have a corresponding test that must pass for the assignment to be considered complete.


πŸ“‚ Project Structure

python-programming-assignments/
β”œβ”€β”€ src/                         # Source code directory for assignments
β”œβ”€β”€ tests/                       # Unit tests for assignments
β”œβ”€β”€ requirements.txt             # Python dependencies 
└── README.md                    # This file

βœ… Steps to Complete Assignments

  1. Run the test file copied as part of the assignment:

    python3 -m unittest tests/<test-file-name>

    πŸ’‘ On the first run, all tests will fail β€” this is expected.

  2. Modify the assignment files under src/ to implement your solution.

  3. Repeat steps 1 & 2 until all tests pass.


πŸ§ͺ Additional Commands

Run All Tests

python3 -m unittest discover

πŸ”§ Prerequisites (should already be installed)

  • Python 3.8+
  • pip (Python package installer)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages