Ejercicio final Python

There are no loose ends in this story.