Question: CHALLENGE ACTIVITY 2 . 1 6 . 1 : Creating and modifying sets. The top three most popular male names of 2 0 1 7
CHALLENGE
ACTIVITY
: Creating and modifying sets.
The top three most popular male names of are Oliver, Declan, and Henry, according to
babynames.com.
Write a program that modifies the malenames set by removing a name and adding a different name.
Sample output with inputs: 'Oliver' 'Atlas'
Atlas 'Declan', 'Henry'
NOTE: Because sets are unordered, the order in which the names in malenames appear may differ from above.
Learn how our autograder works
malenames 'Oliver', 'Declan', 'Henry'
nameto remove input
nametoadd input
Your solution goes here
printmalenames
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
