Exercises
- Explain why
len("é")and its UTF-8 byte length differ. - Parse
"A,B",25into fields without discarding the comma inside the topic. - Predict the result of a header-only file versus a file with a blank data record.
- Hand-calculate the count and total for three identical 10-minute sessions.
- Explain why a newline change can alter a fingerprint without changing parsed records.
- Design a case that catches accidental row deduplication and one that catches silently skipped invalid rows.
- Explain the shell-redirection hazard even when the Python code only opens the source for reading.
Use calibration after attempting. These tasks belong to the cluster-practice allocation.