class Contacts:
    all_contacts = []

def __init__(self, name, email):
    self.name = name
self.email = email
Contacts.all_contacts.append(self)

def __str__(self):
    return '%s, <%s>' % (self.name, self.email)

def __repr__(self):
    return str(self)
contact1 = Contacts('Grace1', 'something1@hotmail.com')
contact2 = Contacts('Grace2', 'something2@hotmail.com')
contact3 = Contacts('Grace3', 'something3@hotmail.com')
print(Contacts.all_contacts)
How do I print this class variable?