Question: Lab03 - Exercise - Times table tester (1 point) Write a program in tables.py that tests the user's knowledge of the time tables. The program
Lab03 - Exercise - Times table tester (1 point) Write a program in tables.py that tests the user's knowledge of the time tables. The program picks two random integers between 2 and 12 (by importing the random module - google it), and then asks the user to multiply them together in their head and then enter their answer. if their result is correct it displays "Correct!", and if it's incorrect, it prompts them to try again (see sample interactions below). $ python3 tables.py What is 7 x 5? 34 Incorrect - try again. What is 7 x 57 33 Incorrect - try again. What is 7 x 5? 35 Correct! $ python3 tables.py What is 3 x 379 Correct! The program will keep looping until they get the correct answer, and once they get the correct answer, the program will exit normally
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
