Write a Python program that creates a class which represents an Instagram account. The class must have
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
Posted Date: