Added solution code

This commit is contained in:
David Beazley
2020-05-27 17:03:35 -05:00
parent 960d4fa2fa
commit 5b6f15db17
136 changed files with 5828 additions and 350 deletions

View File

@@ -248,7 +248,7 @@ if __name__ == '__main__':
change = float(fields[4])
if name in portfolio:
print(f'{name:>10s} {price:>10.2f} {change:>10.2f}')
----
```
Note: For this to work, your `Portfolio` class must support the
`in` operator. See the last exercise and make sure you implement the