Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Capital City by mozurin
class _Capital:
def __init__(self, name):
self._name = name
name = lambda self: self._name
instance = None
def Capital(name):
_Capital.instance = _Capital.instance or _Capital(name)
return _Capital.instance
July 6, 2018
Comments: