- Modify The Random Quiz Program Done In Class Today Tuesday July 5 To Create 25 Python Quizzes For Your Favorite Python 1 (44.46 KiB) Viewed 37 times
Modify the Random Quiz program done in class today, Tuesday, July 5 to create 25 Python quizzes for your favorite Python
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Modify the Random Quiz program done in class today, Tuesday, July 5 to create 25 Python quizzes for your favorite Python
Modify the Random Quiz program done in class today, Tuesday, July 5 to create 25 Python quizzes for your favorite Python teacher (that would be me). Create a dictionary of at least 20 Python terms as the keys and the values will be a short definition. You can find terms anywhere you wish; I suggest the Python cheat sheet posted in D2L. Your program should generate 25 quizzes using a random selection of terms with 4 answer options (A, B, C and D). Set the os.chdir() command to reflect where you will be saving the files on your computer. When I run it on my computer, I'll edit the path appropriate to my computer. You don't need to generate the quiz answer key file. Extra details to follow: . Be sure to add comments to your program to explain your code. • Insert blank lines for readability. • Save your program as Quizxxxxx where xxxxx is your last name. The program will have a .py extension. • Submit your program to D2L under Python Quiz program assignment. Points awarded as below: 30 Use of dictionary Loops to create quizzes and answer 20 choices Text files are created Comments 20 Total Points: 100 Points 20