Unverified Commit 02cc1b45 authored by Maxim Belkin's avatar Maxim Belkin Committed by GitHub
Browse files

08-defensive.md: fix styling of keyboard shortcuts (#704)

parent 9446c970
......@@ -231,7 +231,8 @@ AssertionError: Calculated upper Y coordinate invalid
Re-reading our function,
we realize that line 14 should divide `dy` by `dx` rather than `dx` by `dy`.
(You can display line numbers by typing Ctrl-M, then L.)
In a Jupyter notebook, you can display line numbers by typing <kbd>Ctrl</kbd>+<kbd>M</kbd>
followed by <kbd>L</kbd>.
If we had left out the assertion at the end of the function,
we would have created and returned something that had the right shape as a valid answer,
but wasn't.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment