Question
GirlNames.txt This file contains a list of the 200 most popular names given to girls born in the United States from the year 2000 through
GirlNames.txt This file contains a list of the 200 most popular names given to girls born in the United States from the year 2000 through 2009.
BoyNames.txt This file contains a list of the 200 most popular names given to boys born in the United States from the year 2000 through 2009.
Write a program that reads the contents of the two files into two separate lists. The user should be able to enter a boys name, a girls name, or both, and the application will display messages indicating whether the names were among the most popular.
**programming language is python**
** must use a def main(): function**
*please include some comments*
i aslo have the .txt files but no wya to upload them
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started