Skip to content

Commit

Permalink
Merge branch 'main' of github.com:prof-rossetti/intro-software-dev-py…
Browse files Browse the repository at this point in the history
…thon-book into main
  • Loading branch information
s2t2 committed Oct 1, 2024
2 parents 0dd3e28 + b083e35 commit f01910a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/notes/python-lang/basic-datatypes/strings.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ print(message)
```


In practice, for single line strings, we can prefer to default to double quotes, because it allows us to use single quotes for contractions, whereas the reverse would break the quoting level:
In practice, we might prefer to use double quotes by default. This allows us to use single quotes inside for contractions, whereas this would otherwise break the quoting level:

```{python}
message = "It's awesome!"
Expand Down

0 comments on commit f01910a

Please sign in to comment.