Records Out to a File — medium Python for AI problem | Incognition