string separator python code example
Example 1: python multiline string
#you can start a multiline string with either ''' or """
'''This is a
multiline
string.'''
"""It can be used as a
multiline comment
too."""
Example 2: split word python
# How to spit a word :
text = "Word"
text_list = list(text)
print(text_list)
# Output :
# ["W", "o", "r", "d"]
Example 3: python string format
print("My name is {0} and I am {1} years old".format(name, age))