Question: use Python please ) older are two text files: boys.txt and girls.txt. Use these files to write a program to do the following:Create a dictionary

use Python please )

older are two text files: boys.txt and girls.txt. Use these files to write a program to do the following:Create a dictionary from the boys.txt file that uses the boys names as the key and the numberof boys that were named that name as the value. The names and counts are delimited by a comma.Create a dictionary from the girls.txt file that uses the girls names as the key and the number of girls that were named that name as the value. The names and counts are delimited by a comma.Create a menu that contains the following choices:oAdd a name and count for either a boy or girloDelete a name and count for either a boy or girloFind the count for a particular boy name or girl nameoFind the boy name with the highest countoFind the girl name with the highest countoQuit the programUse methods where appropriate. Use descriptive identifier names. Use comments to describe each method.BE SURE TO USE DICTIONARIES AS THE ONLY MEANS TO COMPLETE THE MENU CHOICES. DO NOT USE LISTS OR ANY OTHER DATA TYPE OR DATA STRUCTURE TO SOLVE THIS PROBLEM.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!