Menu

[Solved]-Python 35 Follow Instruction Files Txt Boynamestxt Around 100 Names File Jacob Michael Jos Q37287059

python 3.5 and follow the instruction below

Files are .txt

BoyNames.txt ( around 100 names in file)

Jacob
Michael
Joshua
Matthew
Daniel
Christopher
Andrew
Ethan
Joseph
William
Anthony
David
Alexander
Nicholas
Ryan
Tyler
James
John
Jonathan
Noah
Brandon
Christian
Dylan
Samuel
Benjamin
Zachary
Nathan

GirlNames.txt ( around 100 more names)

Emily
Madison
Emma
Olivia
Hannah
Abigail
Isabella
Samantha
Elizabeth
Ashley
Alexis
Sarah
Sophia
Alyssa
Grace
Ava
Taylor
Brianna
Lauren
Chloe
Natalie
Kayla
Jessica
Anna
Victoria
Mia

Popular Names This program will use two files: GirlNames.txt and BoyNames.txt. They each contain the 200 most popular names f

Popular Names This program will use two files: GirlNames.txt and BoyNames.txt. They each contain the 200 most popular names for the years 2000-2009. You must download these files to your computer and place them in the directory that your Python program will run from. There is a video that will explain how to download these files. Write a program that reads the contents of the two files into separate lists. The user will then be able to enter a name and the application will display messages indicating whether the name is among the most popular in each list and where the name ranked in each list. Sample execution Python 3.6.4 Shell File Edit Shell Debug Options Window Help Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)1 on win32 Type “copyright”, “credits” or “licenรe()” for more information. RESTART: P:/Cmpsc131/Programming Assignment Solutions/PA9PopularName.py Enter a name to see if it is a popular girls or boys name. Enter a name to check, or “stop” to stop: Alyssa Alyssa is a popular girls name and is ranked: 14 Alyssa is not a popular boys name. Enter a name to check, or “stop” to stop: Fred Fred is not a popular girls name. Fred is not a popular boys name. Enter a name to check, or “stop” to stop: Riley Riley is a popular girls name and is ranked: 67 Riley is a popular boys name and is ranked: 107 Enter a name to check, or “stop” to stop: stop Show transcribed image text Popular Names This program will use two files: GirlNames.txt and BoyNames.txt. They each contain the 200 most popular names for the years 2000-2009. You must download these files to your computer and place them in the directory that your Python program will run from. There is a video that will explain how to download these files. Write a program that reads the contents of the two files into separate lists. The user will then be able to enter a name and the application will display messages indicating whether the name is among the most popular in each list and where the name ranked in each list. Sample execution Python 3.6.4 Shell File Edit Shell Debug Options Window Help Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)1 on win32 Type “copyright”, “credits” or “licenรe()” for more information. RESTART: P:/Cmpsc131/Programming Assignment Solutions/PA9PopularName.py Enter a name to see if it is a popular girls or boys name. Enter a name to check, or “stop” to stop: Alyssa Alyssa is a popular girls name and is ranked: 14 Alyssa is not a popular boys name. Enter a name to check, or “stop” to stop: Fred Fred is not a popular girls name. Fred is not a popular boys name. Enter a name to check, or “stop” to stop: Riley Riley is a popular girls name and is ranked: 67 Riley is a popular boys name and is ranked: 107 Enter a name to check, or “stop” to stop: stop

Expert Answer


Answer to python 3.5 and follow the instruction below Files are .txt BoyNames.txt ( around 100 names in file) Jacob Michael Joshua… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *