Nov-01-2021, 10:49 PM
I mean
- Write a function that reads the file and produces a sequence of pairs (question, answer)
- Write a function
is_significant(question, answer)
that returns True or False depending on the answer being or not significant for that question.
- Use the above list comprehension to remove the superfluous answers and keep only the significant ones.