9 lines
190 B
Python
9 lines
190 B
Python
|
class Instance:
|
||
|
def __init__(self):
|
||
|
self.vars = {}
|
||
|
|
||
|
def set(self, key: str, value):
|
||
|
self.vars[key] = value
|
||
|
|
||
|
def get(self, key: str):
|
||
|
return self.vars[key]
|