by Mo Shakiba
QuizShuffle is a command-line utility that takes a '.txt' file as input and creates a new '.txt' file with a specified number of randomly selected questions from the input file. Whether you're a teacher looking to generate random quizzes or a student studying for an exam, QuizShuffle makes the process easy and efficient.
To run the program, open your terminal and use the following command:
python main.py -n "filename.txt"
You'll be prompted to provide the following information:
- Enter the number of questions you want (e.g., 12):
Number of Questions: 12
- Enter a name to save your file (e.g., Output.txt):
File Name: Output.txt
After completing these steps, you should see the following output:
Done! Output.txt is created.