'''
EXTEND A DICTIONNARIES
This class, will show the longestKey character
'''

class LongNameDict(dict):
    def longest_key(self):
        longest = None
        for key in self:
            if not longest or len(key) > len(longest):
                longest = key

        return longest

'''
TESTING


longkeys = LongNameDict()

longkeys['hello'] = 1
longkeys['longest key'] = 5
longkeys['hello2'] = 'world'


print(longkeys.longest_key())

'''


1016b1d65f8dc1ee7a86cf7b2c8281fb2f6d4a55
<mask token>

<mask token>


class LongNameDict(dict):
    <mask token>


<mask token>

<mask token>


class LongNameDict(dict):

    def longest_key(self):
        longest = None
        for key in self:
            if not longest or len(key) > len(longest):
                longest = key
        return longest


<mask token>

'''
EXTEND A DICTIONNARIES
This class, will show the longestKey character
'''

class LongNameDict(dict):
    def longest_key(self):
        longest = None
        for key in self:
            if not longest or len(key) > len(longest):
                longest = key

        return longest

'''
TESTING


longkeys = LongNameDict()

longkeys['hello'] = 1
longkeys['longest key'] = 5
longkeys['hello2'] = 'world'


print(longkeys.longest_key())

'''

