__all__ = ['Person']


class Person(object):

    def __init__(self, first_name, last_name, addresses, phone_numbers, emails):
        self.first_name = first_name
        self.last_name = last_name
        self.addresses = addresses
        self.phone_numbers = phone_numbers
        self.emails = emails

    def add_address(self, address):
        self.addresses.append(address)

    def add_phone_number(self, phone_number):
        self.phone_numbers.append(phone_number)

    def add_email(self, email):
        self.emails.append(email)
@@ -298,16 +298,41 @@
 = emails
+%0A        self.groups = %5B%5D
 %0A%0A    de
@@ -557,12 +557,82 @@
 ppend(email)
+%0A%0A    def add_to_group(self, group):%0A        self.groups.append(group)

Add ability to add the person to groups and get list of groups, which contain current person