Fix(guide): Edited the formatting added title (#32577)

This commit is contained in:
DanSLuong
2019-03-28 01:39:34 -05:00
committed by Randell Dawson
parent 60e278f1d7
commit fed6ffb606

View File

@ -1,10 +1,17 @@
---
title: The Python Strings
---
Python allows `str` objects, or _strings_, to be expressed in a few different ways:
# Strings
Python allows `str` objects, or [_strings_](https://docs.python.org/2/library/string.html), to be expressed in a few different ways:
* Single quotes:
`'Single quote strings can have "double" quotes inside.'`
* Double quotes:
`"Double quote strings can have 'single' quotes inside."`
* Single quotes: `'Single quote strings can have "double" quotes inside.'`
* Double quotes: `"Double quote strings can have 'single' quotes inside."`
* Triple quoted:
"""Triple quoted strings can span multiple lines.
@ -99,4 +106,4 @@ Using the `+` operator on strings leads to `concatenation`, while the `*` operat
## Reference:
<a href='https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str' target='_blank' rel='nofollow'>Text Sequence Type _str_</a>
<a href='https://docs.python.org/3/library/stdtypes.html#text-sequence-type-str' target='_blank' rel='nofollow'>Python Documentation - Text Sequence Type _str_</a>