You are given several sets with names of students in different classes. Output the set containing names of all the students.
NB! You don't need to read the input; the variables containing the input data are already created for you.
You are given several sets with names of students in different classes. Output the set containing names of all the students.
NB! You don't need to read the input; the variables containing the input data are already created for you.
Sample Input 1:
Potter Weasley
Lovegood Corner
Malfoy Goyle
Bones MacmillanSample Output 1:
{'Potter', 'Weasley', 'Lovegood', 'Corner', 'Malfoy', 'Goyle', 'Bones', 'Macmillan'}Create a free account to access the full topic