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