class Element:
def __init__(self, kvargs):
self.dict = kvargs
def __repr__(self):
return f"{self.dict}"
the = Element({'name': 'Hydrogen',
'symbol': 'H', 'number': '1'})
print(type(the)) ################ <class '__main__.Element'>
for value, key in the.items():
print()