Skip to content

Commit 4b6d371

Browse files
committed
Complete Exercise 6-18: Porting to Python 3
1 parent 2ac643b commit 4b6d371

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Chap6/print_vs_print_function.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The difference can be shown in a pretty straightforward way:
2+
`print(2, 3)` in Python2 outputs `(2, 3)`, whereas `print(2, 3)` in Python3
3+
outputs `2 3`.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@
8585
* Exercise 6-14: To be done later; same reason as above.
8686
* Exercise 6-15: Supporting Different RDBMSs ([ushuffle_sad.py][6-15])
8787
* Exercise 6-16: Importing and Python ([builtins_explanation.md][6-16])
88-
* Exercise 6-17: Porting to Python3 (['warn\_vs\_print.md][6-17])
88+
* Exercise 6-17: Porting to Python3 ([warn\_vs\_print.md][6-17])
89+
* Exercise 6-18: Porting to Python3 ([print\_vs\_print_function.md][6-18])
8990

9091
[req2]: /requirements.txt
9192
[chap4]: /Chap4
@@ -152,4 +153,5 @@
152153
[6-12]: /Chap6/ushuffle_dbU.py
153154
[6-15]: /Chap6/ushuffle_sad.py
154155
[6-16]: /Chap6/builtins_explanation.md
155-
[6-17]: /Chap6/warn_vs_print.md
156+
[6-17]: /Chap6/warn_vs_print.md
157+
[6-18]: /Chap6/print_vs_print_function.md

0 commit comments

Comments
 (0)