Question: set theory methods CHALLENGE ACTIVITY 3.3.2. Set theory methods The following program includes fictional sets of the top 10 male and female baby names for

 set theory methods CHALLENGE ACTIVITY 3.3.2. Set theory methods The following

set theory methods

CHALLENGE ACTIVITY 3.3.2. Set theory methods The following program includes fictional sets of the top 10 male and female baby names for the current yea creates 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's Lucasil "Chuck', 'Aiden', 'Khloe', 'Elizabe "Veronica', Meghan', 'John', 'Samuel', Britney "Charlie', 'Kim') NOTE: Because sets are unordered they are printed using the sorted() function here for comparison 1 male names ohn, Bailey's Charlie Chuck Michael Samuel, Jayden Aiden, theoryLuca femalemanes Elizabeth Meghan Kim Khloe sy hayden Aiden, Britney witVeronica 3 4 = Usset methods to creates all the neutraland Socitiem S fell_names-union(male_names Your solution on here 7 8 print.(sortedcall_names >> 9 print (sorted(neutra_nemes) 18 print sorted specific names)

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!