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

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!