Skip to content

Commit

Permalink
Escape quotation marks in tutorial.
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-zheng committed Mar 8, 2019
1 parent 1649a02 commit 8690171
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/site/tutorials/a_swift_tour.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"\n",
"This notebook is adapted from the original [*A Swift Tour*](https://docs.swift.org/swift-book/GuidedTour/GuidedTour.html) at [Swift.org](https://swift.org).\n",
"\n",
"Tradition suggests that the first program in a new language should print the words "Hello, world!" on the screen. In Swift, this can be done in a single line:"
"Tradition suggests that the first program in a new language should print the words \"Hello, world!\" on the screen. In Swift, this can be done in a single line:"
]
},
{
Expand Down Expand Up @@ -1753,7 +1753,7 @@
"source": [
"#### Experiment\n",
"\n",
"Add a `color()` method to `Suit` that returns "black" for spades and clubs, and returns "red" for hearts and diamonds."
"Add a `color()` method to `Suit` that returns \"black\" for spades and clubs, and returns \"red\" for hearts and diamonds."
]
},
{
Expand Down

0 comments on commit 8690171

Please sign in to comment.