class UserDetail: def __init__(self, name, dob, city): self.name = name self.dob = dob self.city = city