def ctor():
    tits = 0
    def fuck(): nonlocal tits; return tits
    def suck(): nonlocal tits; tits += 1
    return { 'fuck': fuck, 'suck': suck }
    
x = ctor()
print (x['fuck']()) # 0
x['suck']()
x['suck']()
print (x['fuck']()) # 2