35 minutes. Instant-marked. Unlimited attempts. Each answer is marked as soon as you choose it, with an explanation. Nothing is saved in this course.
P1. Mode "w" on an existing file:
Write erases.
P2. Lines read from a file end with:
strip() removes it.
P3. "Ann,70".split(",") gives:
Two parts.
P4. int("85") + 5 is:
Convert, then add.
P5. Reading a CSV with DictReader gives each row as:
Keys from the header.
P6. Rows read = 10, used = 8. Skipped should be:
10 minus 8.
P7. To keep the original safe, write the results to:
Never overwrite the source.
P8. with open(...) as f makes sure:
Automatic close.