The Definitions File

Pretend that you know a student who is taking IB Standard Level Computer Science. Further pretend that the student studied for their tests and wanted an easy way to view all of the definitions that they needed to learn. Clearly this student would write a program to help them with these functions.

There is a text file (defn.txt) that contains data about "definitions". A definition consists of:

Methods:

Level 1-3

Level 4

Level 5

Level 6-7