Skip to content

Commit

Permalink
Update strings.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
s2t2 authored Sep 19, 2024
1 parent 6565f6e commit b083e35
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 b083e35

Please sign in to comment.