Strings in Python
|
|
| Strings in Python |
If you want to use text in Python, you have to use a string.
A string is created by entering text between two single or double quotation marks.
print("hello world!") print('Hello python students.') print(""" I love to code in Python """) print('I'+' '+'am'+' '+'a'+' '+"Python Student.")
The delimiter (" or ') used for a string doesn't affect how it behaves in any way.