Strings Are Immutable - part of Python for Beginners.
Short, clear Python lessons - one concept at a time.
In this lesson:
Strings cannot be changed after they are created
Assigning to s[0] raises a TypeError — always
Methods like replace return a NEW string object
Rebind the name to the new string to keep your changes
Chapters:
0:00 Intro
0:09 What Does Immutable Mean?
0:20 Walkthrough
0:33 Walkthrough
0:44 Walkthrough
0:59 Walkthrough
1:06 Run It and See
1:18 Mutation vs Rebinding
1:31 Recap
Module: Working with Strings
Every command and code example in this video is executed and verified before publishing.
Auf dieser Seite können Sie das Online-Video Strings Are Immutable - Python for Beginners mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer The Software Mentor 21 Juni 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!