Lists, Functions and Files

So far you have learned how to write simple programs in Python that involve making choices (if statements) and repeating blocks of code (for and while loops). With these skills you can write basic programs but you soon want to do more:

  • Creating and manipulating lists in Python
  • Writing functions and moving data between functions
  • Reading from and writing to files

With these skills you will be able to write programs that are much more efficient and you will be able to save data for later use.

Also during this day you will learn to write a menu-driven program, which is always useful, and to extend your quiz. With a bit of luck we might have time to develop a simple GUI quiz too.