New course! Every coder should learn Generative AI!
Try a free lesson+ 2
What is a string ?
2 Answers
+ 4
something like an order of letters
+ 3
A string in python is a list of character that cannot be changed.
s = "Hello World!"
I.E., the following statement will ALWAYS generate an error :
s[5] = 'g'