Question
Write a program by using python language following question below: Question:1 Implement a list of students that will include a series of tuples that contain
Write a program by using python language following question below:
Question:1
Implement a list of students that will include a series of tuples that contain both the student name and their CGPA.
Loop through the list and utilize tuple assignment. Assign one variable to denote the name of the student and another their CGPA.
Display the students name and CGPA to the screen.
Question: 2
Let us suppose that we have two development teams. There are some members that are in both teams.
This is the configuration of this teams:
D1={Bob,Tom,Peter,Laura,Dan,Mary,Timmy}
D2={Kim,Tom,Neil,Kramer,Dan,Jimmy,Teresa}
Using set operations in Python, answer these questions:
Common members between D1 and D2.
Members that are in D1 and D2 but not both.
Unique members only in D1.
List of all members in D1 and D2.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started