String is the collection of characters enclosed with either single quotation marks, or double quotation marks. When a data is represented in single quotation marks and the same data if represented in double quotation marks its the same.

"hey" is equal to 'hey'

name = "Monica Geller"

In the code block above the variable name is set to a string value of "Monica Geller". You can also print a string value simply just by enclosing the string value within the print statement.

print('Intelligence dispalyed by machines is called as Artificial Intelligence')

Multiline Strings

The multiline strings can be assigned to a variable. the multiline strings are string which have values more than one line. They are represented using triple quotation marks (""").

# Multi-line Comments

ai ="""Artificial intelligence is the simulation of human intelligence processes
 by machines, especially computer systems. 
 Specific applications of AI include expert systems, natural language processing,
 speech recognition and machine vision."""

print(ai)

All Strings are Arrays

So Each string value is considered as an array. Consider each string has a container which has elements arranged in order. So if you want to look up for a particular element you can just get the element using the order. Similarly each character in a string can be fetched up with index value.

content ="Hey there"
print(content[2])