Haute Vallee School - Dr Galan
Edexcel GCSE CS ยท 1CP2

String Manipulation
in Python

6 lessons combining file handling & string functions โ€” from guided to independent

upper() / lower() len() find() isalpha() isdigit() isspace() indexing slicing File I/O
๐ŸŸข Full support Support fades as you progress โ†’ ๐Ÿ”ด Independent
LESSON 01
๐Ÿ“‚

File Recap & First Strings

Refresh file reading & writing. Meet strings โ€” copy & run complete code in IDLE.

open()read()write()upper()lower()
๐ŸŸข Full scaffold
โ†’
LESSON 02
๐Ÿ“

Length & Indexing

Measure strings and pick out characters by position. Fill in the missing parts.

len()indexing [ ]slicing [ : ]
๐ŸŸข Mostly guided
โ†’
LESSON 03
๐Ÿ”

Finding & Searching

Search inside strings. Fix the buggy code and complete the gaps yourself.

find()inselection
๐ŸŸก Some scaffolding
โ†’
LESSON 04
๐Ÿ”Ž

Checking Characters

Inspect strings character-by-character. Spot the errors and write sections from hints.

isalpha()isdigit()isspace()
๐ŸŸก Less scaffolding
โ†’
LESSON 05
โš™๏ธ

Combining It All

Read, process, and write. You write most of the code โ€” only light hints provided.

All functionsfor loopif/elif
๐Ÿ”ด Mostly independent
โ†’
LESSON 06
๐Ÿ†

Final Challenge

No code provided. You design, write and test the full program from scratch.

All topicsIndependent
๐Ÿ”ด Full independence
โ†’