Week 5 -File Handling -Write

Dear Team,

Please refer to the above attachment.

Despite the output code 39, 40 , 41, in fav.txt, 2nd indexing line is not appearing. Please provide the solution for it.

Thanks & Regards,
Purvi Manghi

@PURVI re-execute the mentioned lines.make sure you have closed fav.txt and after excuting f_out.close() reopen fav,txt. You will notice the changes.