Question
How woud I do this python code? How do I upload a text file to this question? Download the TXBabyNames.txt file from Blackboard and put
How woud I do this python code? How do I upload a text file to this question?
Download the TXBabyNames.txt file from Blackboard and put it into your TestData folder. Look at it, then write code to read it into a list.
Next, answer the following questions:
1. How many girl babies have been born since 1910?
2. How many boy babies have been born since 1910?
3. How many girl babies were born 1910? In 2012?
4. How many boy babies were born in 1910? In 2012?
5. What are the total number of babies born in Texas in 2012?
6. What are the total number of babies born in Texas with your name since 1910? If you have an uncommon name, look for the first name of our new UHCL president - Ira.
7. What are the total number of babies born in Texas with your name between 1910 and 1960? If you have an uncommon name, look for the first name of our new UHCL president - Ira.
8. What name was the most popular (had the highest count in one year): List the count for boys and then for girls.
9. What name was that? List the name that was the most popular for boys and then for girls.
10. What year was that? List the year the name was the most popular for boys and then for girls.
11. In what year was your name (or Ira's name) the most popular (had the highest count)?
Write all this information out to a file.
link https://www.dropbox.com/s/s4p9sxgtwvwaqn7/TXBabyNames.txt?dl=0
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