seed: curriculum content
This commit is contained in:
27
1.solar-system/3.strings/0.index.md
Normal file
27
1.solar-system/3.strings/0.index.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
type: module
|
||||
title: "Strings"
|
||||
description: "Text is half of every program — index it, slice it, transform it, count it, format it."
|
||||
---
|
||||
|
||||
# Strings
|
||||
|
||||
Half of what programs do is move text around. Reading user input,
|
||||
formatting reports, parsing log lines, validating passwords — all
|
||||
strings. This module hands you the toolkit.
|
||||
|
||||
Seven blocks. About three and a half hours. No conditionals or loops
|
||||
yet — those come next module — so every challenge here works through
|
||||
indexing, slicing, methods, and built-in functions.
|
||||
|
||||
## What You'll Do
|
||||
|
||||
- Index and slice strings
|
||||
- Apply the most-used string methods (`upper`, `strip`, `split`,
|
||||
`replace`, ...)
|
||||
- Validate, count, mirror, and format text
|
||||
- Build a small mission report from raw fields
|
||||
|
||||
## Pace
|
||||
|
||||
About 3.5 hours. Each block is a small real program — no drills.
|
||||
Reference in New Issue
Block a user