class pupil(object):
name = 'name'
mark = 0
classOfPupil = 0
variable = bob
variable = pupil()
print(bob.name)
variable = steve
variable = pupil()
print(steve.name)
I want to know how to make as many instances as I want from a changing variable, for example, everytime someone inputs their information, for their information to be under a new instance of their name.