28 lines
855 B
Markdown
28 lines
855 B
Markdown
---
|
|
id: practical-python-7.9
|
|
source_exercise_id: "7.9"
|
|
title: "Putting it into practice"
|
|
section: "7.3 Returning Functions"
|
|
source_path: "07_Advanced_Topics/03_Returning_functions.md"
|
|
source_repo: "https://github.com/dabeaz-course/practical-python"
|
|
source_commit: "93dca856b41c61a0a0f85ae334116e4c125629ea"
|
|
student_visible_solution: false
|
|
has_private_solution: true
|
|
skip: false
|
|
---
|
|
|
|
# Exercise 7.9: Putting it into practice
|
|
|
|
> Source: Practical Python Programming, `07_Advanced_Topics/03_Returning_functions.md`.
|
|
|
|
### Exercise 7.9: Putting it into practice
|
|
|
|
Rewrite the `Stock` class in the file `stock.py` so that it uses typed properties
|
|
as shown.
|
|
|
|
[Contents](../Contents.md) \| [Previous (7.2 Anonymous Functions)](02_Anonymous_function.md) \| [Next (7.4 Decorators)](04_Function_decorators.md)
|
|
|
|
## 关联来源
|
|
|
|
- [[summaries/03_Returning_functions]]
|