There is a large dictionary like {'вася': 4, 'сон': 3, 'пол': 4} and so on.
It is necessary to obtain an object containing all the keys with the same values, provided that the number of these values is not known.
Desirable sorted in ascending order.
Is it possible to create conditionally named variables in python? I would like, for example, something like this:
q = get ALL from {} where val == (foreach range(1, {}.__len__())) and then create a variable by type
create str(list({}.values.sortbyinc)) unload all dictionary keys with a value, for example, 1 and so on for all found values.