Walrus operator in dict declaration
Walrus operator in dict declaration Question: I want to use the walrus operator in a dictionary declaration. However the : is propably causing a problem. I have a dictionary declaration nested in a list comprehension, but I don’t want to decompose it into a simple for-loop (that would be a lazy answer). Is it even …