File tree 1 file changed +3
-3
lines changed
Notes/02_Working_with_data
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ accessed by key names instead of numeric column numbers. This is
341
341
often preferred because the resulting code is easier to read later.
342
342
343
343
Viewing large dictionaries and lists can be messy. To clean up the
344
- output for debugging, considering using the ` pprint ` function.
344
+ output for debugging, consider using the ` pprint ` function.
345
345
346
346
``` python
347
347
>> > from pprint import pprint
@@ -443,9 +443,9 @@ interactively to make sure it works:
443
443
### Exercise 2.7: Finding out if you can retire
444
444
445
445
Tie all of this work together by adding a few additional statements to
446
- your ` report.py ` program that compute gain/loss. These statements
446
+ your ` report.py ` program that computes gain/loss. These statements
447
447
should take the list of stocks in Exercise 2.5 and the dictionary of
448
- prices in Exercise 2.6 and computes the current value of the portfolio
448
+ prices in Exercise 2.6 and compute the current value of the portfolio
449
449
along with the gain/loss.
450
450
451
451
[ Contents] ( ../Contents.md ) \| [ Previous (2.1 Datatypes)] ( 01_Datatypes.md ) \| [ Next (2.3 Formatting)] ( 03_Formatting.md )
You can’t perform that action at this time.
0 commit comments