Answer:
Step-by-step explanation:
So i have issues typing it here, because it keeps saying trouble uploading your answer as a result of inappropriate words/links, so i will just make a screenshot of it.......
Just save the the above code in python file and execute it, you should arrive at your answer.
Attached below is the code and sample screenshot of what you should expect
cheers !!!!