Question: Write a Python program that has the following 3 sets of hobbies listed from three individuals. Anna ( A ) has swimming , running and
Write a Python program that has the following sets of hobbies listed from three individuals. AnnaA has swimmingrunning and online shopping. BryanB has swimmingtaking a nap and cycling ChrisC has runningcycling and playing chess.
List the all the hobbies from A B and C
List the all the hobbies that are common between A B and C
List the all the hobbies that only B has.
List the all the hobbies that are common between A and B
List the all the hobbies that are common between B and C
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
