Specialty Digest

Global English editionLearners’ Study Dashboard — in development
The Knowledge Library for All

Flashcards: open the module flashcards (end-of-module review with workplace questions).

Online Courses / University Track / Python from Zero

Module 6 · Practice

Practice set: files and data

Quick questions on the whole module, with instant feedback.

  • 35 minutes
  • Instant feedback
  • Unlimited attempts

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:

P2. Lines read from a file end with:

P3. "Ann,70".split(",") gives:

P4. int("85") + 5 is:

P5. Reading a CSV with DictReader gives each row as:

P6. Rows read = 10, used = 8. Skipped should be:

P7. To keep the original safe, write the results to:

P8. with open(...) as f makes sure:

Review with flashcards

Test yourself on this module with workplace flashcards and detailed answers.

Open the module flashcards