Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 857 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 857 Bytes

QuizShuffle

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.


How to Run

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:

  1. Enter the number of questions you want (e.g., 12):
Number of Questions: 12
  1. 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.