/fix-a-bug

🛠 Debugging code challenge

Primary LanguagePythonMIT LicenseMIT

🛠 fix-a-bug

Setup

Clone this repo.

git clone https://github.com/datamade/fix-a-bug.git && cd fix-a-bug

Install the requirements. (Feel free to use a virtual environment!)

pip install -r requirements.txt

Run the tests.

pytest -sv

Challenge

The code in fix_me.py contains four errors that are preventing the test from passing. Debug and correct each error. As you identify the errors, fill out a description of the problem and an explanation of the root cause and your fix in the section below.

Error 1

Description:

Explanation:

Error 2

Description:

Explanation:

Error 3

Description:

Explanation:

Error 4

Description:

Explanation: