1>>> class new_class():
2... def __init__(self, number):
3... self.multi = int(number) * 2
4... self.str = str(number)
5...
6>>> a = new_class(2)
7>>> a.__dict__
8{'multi': 4, 'str': '2'}
9>>> a.__dict__.keys()
10dict_keys(['multi', 'str'])
11