My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Fill in the order form to get the price
Subject
Select Subject
Programming & Computer Science
Math
Engineering
Economics
Physics
Other
Category
C++
Software Engineering
Java | JSP | JSF
Databases | SQL | Oracle | MS Access
C
Python
Excel
C#
Visual Basic
Computer Networks
Functional Programming
Android
Assembler
UNIX/Linux Programming
ASP | ASP.NET
MatLAB
Wolfram Mathematica
MathCAD
Maple
Perl
Action Script | Flash | Flex | ColdFusion
Ruby | Ruby on Rails
Prolog
Objective-C | Swift
Algorithms
Web Development
HTML/JavaScript Web Application
NodeJS Web Application
Other
Deadline
Timezone:
Title
*
Task
*
In your program, friends.py, we will practice working with sets. Download the file, people.txt, from Canvas. Read in the file and create a dictionary with the names as keys and the set of interests as values. Display the possible names to the user and then allow the user to choose two names to compare their interests. Make use of exception handling to ensure the 2 names (keys) they have chosen are in the dictionary you have created. If one of the names they enter is not in the dictionary, allow them to choose again until both names are valid. If the user enters 'done', end the program. Then give the user following options for comparing the two people: what they have in common, all interests they don't have in common, what interests are individual to each person, and also to back/choose new people. Create three functions, one for each type of comparison. Use set methods or the short cuts, to get the requested information. Print the result of the comparison chosen. I can give the .txt file upon request.
I need basic explanations
Special Requirements
Upload files (if required)
Drop files here to upload
Add files...
Account info
Already have an account?
Create an account
Name
*
E-mail
*
Password
*
The password must be at least 6 characters.
I agree with
terms & conditions
Create account & Place an order
Please fix the following input errors:
dummy