This Python script creates n .txt files comprising of 50 multiple choice questions about all the 50 USA states and n files containing the answer key to the respective quiz number.
n is a integer value specified in the program using system argument vector at index 1 ala sys.argv[1]
Naming convention is as follows:
For quizes: Quizn.txt
For answer sheets: Ansn.txt
The only modules used were random and sys. The rest was just file manipulation, not requiring any module specifically.