Answer:
The program written in Python is as follows
Step-by-step explanation:
9.5m questions
12.2m answers