Close Up After Every Item — medium Python for AI problem | Incognition