Question: Design a Python program which will read in the names from the babynames2014.txt file and then create two files separating the boy names and the
Design a Python program which will read in the names from the babynames2014.txt file and then create two files separating the boy names and the girl names. The resulting files should be called boynames2014.txt and girlnames2014.txt.
***Use a try/except block to handle the exception in case the babynames2014.txt file is not found or unavailable.

boynames2014tt-Notepad File Edit Format View Help Noah L1 am Mason Jacob Wi11iam Ethan Mi chael girlnames2014.txt Notepad File Edit Format View Help Emma olivia Sophia Isabella Ava M1 a Emi lv
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
