Gift
asked

Expert
Sudip Bhandari answered
Fixed values are constants that cannot be changed after they are created, and in the context of strings, they are specific sequences of characters.
For example, when you define a string with either "Python" or 'Python', that exact sequence of characters is what's stored. These strings are fixed values because if you tried to change them—say, by altering the capitalization or adding extra spaces—you would end up with something entirely different.
For instance, "python" (with lowercase 'p') or "Python " (with an extra space after the text and before ") are not the same as "Python".
Hope this helps! If you have any more questions, feel free to ask.
Python
This question was asked as part of the Getting started with Python course.
Our Experts
Sanjeev PanditPrincipal Engineer
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Anuj ShresthaTech Lead
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer