class Profile:
def __init__(self, fname, lname, phone, email):
self.fname = fname
self.lname = lname
self.phone = phone
self.email = email
profile1 = Profile('John','Doe','555-555-5555','test@gmail.com')
Is it possible to alter the code above to create more profiles without having to code them in one by one? I would like to attach the script to a button so that every time it is clicked it gives the user the ability to create a new unique profile.