/ProblemPicker

Python script that when given a text file containing a list of questions outputs a random one and removes it from the list

Primary LanguagePython

How to use

run

python3 problemPicker.py 

This file asks for the name of a file similar to stat2003_questions.txt and selects a random question from the list, outputs it and removes it from the list.

The file containing the questions shoud be placed in the same directory as problemPicker.py.

In order to make a file like stat2003_questions.txt It is recommended you either you use the ProblemMaker.py script or to make more complex question lists you make your own script similar to stat2003_questionMaker.py.