Is there any way to use dict comprehension inside a fstring? THe case is the following:
a = ['a', 'b', 'c', 'd']
list_comprehension = [v for v in a]
my_f_string = f"dict comprehension {v:None for v in a}"
I do not wanna use format interpolation ("{}".format(dict_comprehension)). I want to use the most pythonic way to include that list comprehension inside the fstring to be used for logging data.