Question: In Python a) Create a set that stores the strings Jane, John, and Jodie. Print out the set. b) Delete Jodie from the set. Print
In Python
a) Create a set that stores the strings Jane, John, and Jodie. Print out the set.
b) Delete Jodie from the set. Print out the new set.
c) In the second code cell below, convert (or cast) the list of names in the list named "other_users" into a set named unique users and use that to print out the number of unique users in other_users.
other_users = ['Abbey', 'Erinn', 'Bob', 'Alice', 'Alice', 'Erinn', 'Dave', 'June', 'Dave', 'Abbey']
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
