def distinct_brightness(dictionary):
    """Given the brightness dictionary returns the dictionary that has
    no items with the same brightness."""
    distinct, unique_values = {}, set()
    for char, brightness in dictionary.items():
        if brightness not in unique_values:
            distinct[char] = brightness
            unique_values.add(brightness)

    return distinct