Files

31 lines
1.0 KiB
Markdown

---
id: practical-python-3.18
source_exercise_id: "3.18"
title: "Fixing existing functions"
section: "3.6 Design Discussion"
source_path: "03_Program_organization/06_Design_discussion.md"
source_repo: "https://github.com/dabeaz-course/practical-python"
source_commit: "93dca856b41c61a0a0f85ae334116e4c125629ea"
student_visible_solution: false
has_private_solution: true
skip: false
---
# Exercise 3.18: Fixing existing functions
> Source: Practical Python Programming, `03_Program_organization/06_Design_discussion.md`.
### Exercise 3.18: Fixing existing functions
Fix the `read_portfolio()` and `read_prices()` functions in the
`report.py` file so that they work with the modified version of
`parse_csv()`. This should only involve a minor modification.
Afterwards, your `report.py` and `pcost.py` programs should work
the same way they always did.
[Contents](../Contents.md) \| [Previous (3.5 Main module)](05_Main_module.md) \| [Next (4 Classes)](../04_Classes_objects/00_Overview.md)
## 关联来源
- [[summaries/06_Design_discussion]]