We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65ad34c commit 5638aa2Copy full SHA for 5638aa2
dictonary/Dict_Comprehensions2.py
@@ -8,4 +8,4 @@
8
9
# Dictionary comprehension with a condition
10
even_squares = {x: x*x for x in range(10) if x % 2 == 0}
11
-print(even_squares) # Output: {0: 0, 2: 4, 4: 16, 6: 36, 8: 64}
+print(even_squares) # Output: {0: 0, 2: 4, 4: 16, 6: 36, 845454: 64}
0 commit comments