In this tutorial, you’ll learn to properly handle strings in python, print, slice, and format them. Python strings are a sequence of characters that occur one after the other forming a meaningful word or sentence.

You can create a string using single, double or triple quotes

str_one = "Say Hello to Python Programming"
print(str_one)

str_two = 'Say Hello to Python Programming'
print(str_two)

str_three = '''
    Say Hello 
    to 

    Python Programming'''

print(str_three)

str_four = """
    Say Hello 
    to 

    Python Programming"""

print(str_four)

#PYTHON OUTPUT
Say Hello to Python Programming
Say Hello to Python Programming

  Say Hello 
  to 

  Python Programming

  Say Hello 
  to 

  Python Programming

#python #developer

Python Strings
1.70 GEEK