How can i combine a loop through a dict with .items() and an if condition? It works in an list comprehension and I know I can just loop through the keys and get the
.items()