Skip to content

Strings2

Python Strings

Strings are enclosed in either single or double quotes.

"String in Double Quotes"
'String in Single Quotes'

\n creates a new line in a python string

Concatenate strings with + sign

"Hello " + "Angela"