Working with Strings and Text in Python
Work with Python strings: indexing and slicing, immutability, the most useful methods, f-strings, and formatting.
GeeksArray is where software engineers learn from in-depth articles, share what they know, and build professional credibility.
In-depth articles and code-first tutorials across the stack. Read, comment, and share your own.
Explore articlesMulti-part series that take one topic from fundamentals to production — follow along at your own pace.
Browse the blogMost tutorials ship with a working sample project on GitHub, so you can clone it, run it, and make it yours.
Start reading
Work with Python strings: indexing and slicing, immutability, the most useful methods, f-strings, and formatting.
Understand variables, dynamic typing, numbers, booleans, None, type conversion, and Python's arithmetic operators.
Install Python, use the REPL and script files, and write your first program with print(), comments, and input().
Follow new articles, join the discussion in comments, and share what you build.