Question: HELP WITH THIS PYTHON PROGRAM PLEASE! Question 81 This question is an Write a program that first creates an empty set object my set1. Then,

HELP WITH THIS PYTHON PROGRAM PLEASE!
 HELP WITH THIS PYTHON PROGRAM PLEASE! Question 81 This question is

Question 81 This question is an Write a program that first creates an empty set object my set1. Then, perform the following tasks: (1) Add integer 1 into my, set1, using the add(argument) method. (2) Add a tuple of items 'a', b', '1', 1, into my set1, using the update(argument) method (3) Delete string 'a' from my set1, using the remove(argument) method. (4) Delete string 'c' from my set1, using the discardlargument) method (5) Create another set my set2, with the string 'abd1ad' as argument. (6) Print out current my set1 and my set2, as well as the union and intersection & of the two sets my_setl: (1, '1','b') my_set2: ('d', '', 'a', 'b') union: (1, '1', 'd' 'a b' intersection: '1','b

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!