Concepts·Certified Entry-Level Python Programmer
Python String Basics
Objective 3.4 asks you to operate with strings, and a string is an immutable sequence of characters - so every index and slice rule from the list guides applies, and nothing can be assigned. What is new is the method list, and one method that behaves differently depending on whether you give it an argument: `split()` and `split(" ")` produce different results on the same input.
Data Collections Guide 17 of 26 Beginner
- Python3.14.4
- OSUbuntu 26.04 LTS
- pip25.1.1
- TimeAbout 18 min
- Reviewed23 August 2026
Written against the versions above. Strings have been Unicode by default since Python 3.0, and there is no separate character type. PCAP goes further into encodings and code points - see {{guide:encodings-and-code-points}}. Nothing on this page has changed in Python 3.
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| RUNNER01 | 192.168.0.27 | Ubuntu 26.04 LTS | Python 3.14.4 - the only machine this path needs | 2 Core | 4 GB | 50 GB |
Before you start
-
A string is a sequence
-
What immutability rules out
-
Rebinding is not mutating
-
Quoting, and the literals that join themselves
-
The methods the objective names
-
index() on a missing substring
-
split and join, and the argument that changes everything
-
split with an empty separator
-
Comparison is by code point
-
Putting values into a string
-
What the exam does with this objective