Python Language Immutable datatypes(int, float, str, tuple and frozensets) Individual characters of strings are not assignable

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!


foo = "bar"
foo[0] = "c" # Error 

Immutable variable value can not be changed once they are created.

Got any Python Language Question?