A string is a sequence of characters.

name = "xnocode"
msg = 'hello'
text = '''multi-line string'''

Note

  • Strings can be written using ' ', " ", or ''' '''
  • Strings are immutable (cannot be changed)