Skip to content

Commit 5638aa2

Browse files
committed
jsbfuds
1 parent 65ad34c commit 5638aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dictonary/Dict_Comprehensions2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
# Dictionary comprehension with a condition
1010
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}
11+
print(even_squares) # Output: {0: 0, 2: 4, 4: 16, 6: 36, 845454: 64}

0 commit comments

Comments
 (0)