Question
Python Program Names: Input files: Assign8 _First_Last.py April 4, 2017 30 GirlNames.txt and BoyNames.txt These are on your flash drive. I also included them on
Python Program Names:
Input files:
Assign8 _First_Last.py April 4, 2017 30 GirlNames.txt and BoyNames.txt These are on your flash drive. I also included them on Blackboard. You will read the two files and load them into two separate lists. The user will ask you to search a name from the girls list, the boys list, or both.
Description: 1. Start the programs with at least five comments. The top three should be:
# CIS115.600 Assignment 8 # First Last (Where First is your first name and Last is your last name) #Current Date
For the program:
Do Programming Exercise #8 - Name search on pp. 335-336 in your book.
Read both files and put them into two separate list. Program 7-15 might be a good example to
follow. Be sure to strip the .
Ask the user if they want to enter a boys name, a girls name, or both.
Then ask the user to enter a name.
Search the appropriate list(s) and print out an appropriate message. For the search, you might
consider Program 7-2 as an example.
Note: one name that is both on the girls and boys lists is Peyton.
Handle all possibilities. This is harder than you think.
I will leave the output design to you.
Make sure your variable names are descriptive.
I will allow you to design the output.
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