Question: i need some help writing this code in python 3.15 Ch. 3 Lab: Working with sets Given the following sets 'Wikki', 'Hillarl', 'KaclH', 'Lauran', 'RActiel',

3.15 Ch. 3 Lab: Working with sets Given the following sets 'Wikki', 'Hillarl', 'KaclH', 'Lauran', 'RActiel', 'Devon', 'Lauron', 'Som', 'Taylor', 'Courteney', 'Hannati', "Brylee', 'Wary', "Bmily'l bazketbal1 toam I'Wikki', 'Courtney', 'Hitlari', 'Karli', 'Hantah', 'Rachel', "Devon', 'bauren' volloybali tean - ('Jonico', 'Nikki', 'Hillarl', 'Taylor', 'Karli', 'Hannah', "Robin', 'Devon', 'Emily") Qutput the following information in sorted order - All students. - The rame of each team and the athletes on each team - The names of all studentathleter - The names of the student athletes that participate on all three teams - The names of the atblefes that participate in two spots - The names of the studentethat are not on any team Hint sorted() will retum the nema in a set as a list in sorted order Examples print (sorted (students)) will print the names in the students set in order. Wo Acriviry 3t5 1. Ch 3 Laba Working with sets main py Lood defoult 1emplate:. 2. basketbal1_teas - ''Nikki', 'Courthey', 'H111ars', 'Karl1", 'Hannah', "Rachel', "Devon', "Louren') 3 volleybaIl tean = 'Janice', NIkK:', 'Hillarl", "Toylon', "Karl1', 'Hannah', 'Robin', Devon', "Inilly'\} softba11_tean - ('Mary', 'Orylee', 'Couctney', "Kara', 'Mikki', 'San', 'Kriss', 'Hil1ari') 5. 6. peint ('All students:") 7 print(sorted(students)) (6) Finish the nrognar Run your program as often as you'd lke, before submitting for grading Below, type any needed input values in the first bok then click Run program and observe the program's output in the second box
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
