Source Code:
(back to article)
even_squares = {x: x**2 for x in range(10) if x % 2 == 0} print(even_squares)
Result:
Report an issue