Question: Write a Python program that creates a class which represents an Instagram account. The class must have the users first and last name, and any
Write a Python program that creates a class which represents an Instagram account. The class must have the users first and last name, and any two attributes to create user profile. The class should also have the number of followers as a collection of names. The class must also have behaviors that allows the user to set and get attributes. There should also be behaviors to add or remove followers. Create a separate test module where instances of the class are created, and the methods are tested. Create instances of the class to represent 5 Instagram users. Make users follow other users. Then write code to output each user’s name, profile information and the followers to a text file.
Step by Step Solution
3.49 Rating (156 Votes )
There are 3 Steps involved in it
The answer provided below has been developed in a clear step by step manner S... View full answer
Get step-by-step solutions from verified subject matter experts
