Python Language String: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


=The <tt>[]</tt> Operator and String Slices=
=The <tt>[]</tt> Operator and String Slices=
<syntaxhighlight lang='text'>
TypeError: 'str' object does not support item assignment
</syntaxhighlight>


=TO DEPLETE=
=TO DEPLETE=


[[Python Language String TODELETE]]
[[Python Language String TODELETE]]

Revision as of 19:05, 18 June 2022

Internal

Overview

String are a Python sequence of characters. Strings are immutable, a string cannot be changed in-place. Python 3 supports the Unicode standard, so Python 3 strings can contain characters from any written language in the world.

The [] Operator and String Slices

TypeError: 'str' object does not support item assignment

TO DEPLETE

Python Language String TODELETE