subject

The following program includes fictional sets of the top 10 male and female baby names for the current year. Write a program that creates: 1. A set all_names that contains all of the top 10 male and all of the top 10 female names. 2. A set neutral_names that contains only names found in both male_names and female_names. 3. A set specific names that contains only gender specific names Sample output for all_names {"Michael', Henry', 'Jayden', 'Bailey "Lucas', 'Chuck', 'Aiden', 'Khloe', 'Elizabeth', 'Maria', 'Veronica', 'Meghan', 'John', Samuel', 'Britney', 'Charlie', 'Kim') NOTE: Because sets are unordered, they are printed using the sorted() function here for comparison 3 1 mole_names - John, Bailey', charlie', 'Chuck', 'Michael Samuel, ayden', 'Alden', "Henry', 'Lucas 2 female_names (Elizabeth Meghan', 'Kim, Khloe', 'Bailey Jayden', 'Alden', 'Britney', 'Veronica', 'Marts) 4 * Use set methods to create sets all_names, neutral names, and specific names 5 611_names - Cale_names Female_nanes) 7 neutral nanes'female nanes 'male nanes) print (sorted(all nanes) 9 print sorted(neutral nanes) 10 print (sorted(specific names)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:40
Amain idea is supported, explained, or expanded on with a numbers b. a concluding statement c. details d. a topic sentence. im e paragraphs reset nex next
Answers: 2
question
Computers and Technology, 22.06.2019 09:00
What is one way in which tablets differ from laptops and notebooks? tablets are designed for touch-based interaction. tablets are designed to be used as desktops. tablets are designed for input via a keyboard and mouse. tablets are designed to be larger than laptops.
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Write an essay on online collaboration, how to do it, the challenges, resolving the challenges, and consider whether the risks are greater than rewards. ( need )
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Does anybody know how to hack into a google account? i had important information on it and it is gone now and i need getting it back.
Answers: 1
You know the right answer?
The following program includes fictional sets of the top 10 male and female baby names for the curre...
Questions
question
History, 08.04.2020 18:56
question
Mathematics, 08.04.2020 18:57
Questions on the website: 13722361