In this tutorial you will learn about the Python String and its application with practical example.
Python String
A string variable is used to hold series or sequence of characters – letters, numbers, and special characters. In Python, string is represented using single quotes or double quotes.
1 |
'This is a single quoted string.' |
1 |
"This is a double quoted string." |