In this problem, you should write one function named get_supply_count
.
This function should have no parameters, and does not need to return anything.
The task of the function is:
supplies.txt
Television 10
or tomato 38
or skittles 147
.total.txt
For instance, say the function was called and this is what was in supplies.txt
:
tv 0
mouse 100
monitor 0
speakers 12
iphone 5
When the function finishes, total.txt
should look like so:
117
Make sure to include only the one function in your file.
The gradescope tests will call the functions to test them.
Name the program prep23.py
.
Make sure that gradescope gives you the points for passing the test case.