Informatics — Grade 9
Programming in Python: variables, conditions and loops, lists, strings, functions, modules and files.
- 11 topics
- 4 chapters
- 16 min
Topics
Topics are grouped into chapters and listed in reading order.
11 topics
- 10
Modules: math and random
A module is a collection of ready-made functions. We use math for calculations and random for random numbers to write fun game programs.
Chapter 3. Functions and Modules1 min
- 11
Reading and Writing Text Files
When a program ends, the data in its variables disappears. We learn to store data permanently by writing to a file and reading from it.
Chapter 4. Working with Files2 min